spheresensor
SphereSensor {
exposedField SFBool autoOffset TRUE
exposedField SFBool enabled TRUE
exposedField SFRotation offset 0 1 0 0
eventOut SFBool isActive
eventOut SFRotation rotation_changed
eventOut SFVec3f trackPoint_changed
}
- Used for rotating an object freely
- Geometry does not have to be spherical
- offset field used to keep track of last drag effect
- autoOffset field set to FALSE means geometry jumps to initial postion each
new drag event
Example