EntRotateTransformTowardsLookPosition

Rotate Transform Towards Look Position
Rotates a transform on the entity towards the Movement component's look position.

ID: EntRotateTransformTowardsLookPosition
Requires Components: Movement
Base Type: Entity Component

Values

Name

Type

Description

Rotate Speed

Number Variable

x

Rotate Part

Transform Part Variable

The transform that will be rotated.

Aim With Part

Transform Part Variable

If set the RotatePart will be rotated so this part is aimed. This should be a child of RotatePart