Table Of Contents

Previous topic

motion.OrientationAccel

Next topic

motion.Position

This Page

motion.OrientationVel

Constructor

class motion.OrientationVel(presence, oVelFn, period)
Arguments:
  • presence (presence) – The presence to control
  • oVelFn (function(presence)->(util.Quaternion|undefined)) – A function that should return the new orientation velocity of the presence at any point in time (just return; to leave orientation unchanged)
  • period (number) – (optional =defaultPeriod) The period at which the presence’s orientation velocity is updated