Translation Bounds LPK_TranslationBounds.cs

This component keeps its owner within the specified bounds on Translation.

Suggested use:

Keep the owner within the chosen constraints. The constraints roughly line up with the Size property of the Camera.

Note: The compatibility with other components depends on the initalization order. Be conscious when using this with components such as Follow Object.

Examples found in: Project 5

Components
Property Type Description Default Value
Component Properties
Min Bounds Vector3 The minimum value that the object's translation can reach. -10,-10,-10
Max Bounds Vector3 The maximum value that the object's translation can reach. 10,10,10
Local Boolean Whether this component should constrain local position or world position. False
Debug Properties
Print Debug Info Boolean Toggle console debug messages. False
Label String Notes for the user about this component. This does nothing to the game or build. None