Class motion.OrientationVel
A controller for manipulating the orientation velocity of a
presence.
Defined in: motion.em.
Constructor Attributes | Constructor Name and Description |
---|---|
motion.OrientationVel(presence, oVelFn, period)
|
Class Detail
motion.OrientationVel(presence, oVelFn, period)
- Parameters:
- {presence} presence
- The presence to control
- {function(presence)->(util.Quaternion|undefined)} oVelFn
- A function that should return the new orientation velocity of the presence at any point in time (just return; to leave orientation unchanged)
- {number} period
- (optional =defaultPeriod) The period at which the presence's orientation velocity is updated