Class: PlaneLockable

PlaneLockable

(abstract) new PlaneLockable()

PlaneLockable is an abstract class that any class that allows its rotational values to be locked forward via a lockFacingFront property inherits from. Note: that is not the same as locking the rotations to 0. They will face forward even if a parent Group3D is rotated. Basically by setting the lockFacingFront to true all ability to rotate along any axis is removed and it only moves its location in 3D space. Only classes that also inherit from DisplayObject3D may inherit from this class.
Source:

Members

lockFacingFront :Boolean

Allows locking of the DisplayObject3D facing forward at all times if set to true, regardless or local or global rotation.
Type:
  • Boolean
Default Value:
  • false
Source: