Arguments: |
- presence (presence) – The presence to control
- oAccelFn (function(presence)->(util.Vec3|util.Quaternion|undefined)) – A function that should return the angular acceleration on the presence
at any point in time, as a vector or a quaternion. If oAccelFn returns
undefined (“return;”), the acceleration will be unchanged from the last
call. If accelFn itself is undefined (or not provided), the controller
will use the value of presence.orientationAccel, which if assigned
externally, should be a vector (axis with magnitude in rads/sec^2).
- period (number) – (optional =defaultPeriod) The period at which the
angular acceleration is updated
|