The "aim" and "up" vectors used when determining rotation.
LookAtComponent will try to point the Aim axis of the SceneObject towards the target,
while keeping the Up axis of the SceneObject pointing towards worldUpVector.
If disabled, the Component will stop enacting its behavior.
ReadonlyisReturns true if this Component, its SceneObject, and all of that SceneObjects parents are enabled.
Controls the method of rotation being used.
Adds an additional rotation offset.
ReadonlysceneThe SceneObject this component is on.
The SceneObject this LookAtComponent targets.
ReadonlyuniqueThe vector to be considered the "up" vector when determining rotation.
Destroys the component.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Orients a SceneObject towards a target SceneObject.
Example