Table Of Contents

Previous topic

motion.Gravity

Next topic

motion.Motion

This Page

motion.LookForward

Constructor

class motion.LookForward(presence, up, period)

Bases: motion.Orientation()

Arguments:
  • presence (presence) – The presence to control.
  • up (util.Vec3) – (optional =defaultUp) The direction that the presence will use to orient itself so it is right-side up in addition to facing forward
  • period (number) – (optional =defaultPeriod) The period at which to update the presence’s orientation.

Attributes

up

up

The vector to use as up in calculating the forward orientation.