ForwardVector||doc136655

September 20, 2022

Format

MovableNode.ForwardVector

Describe

The vector in the forward direction of the instance is calculated by its own coordinate axis. It can be used to judge whether the angle between the object orientation and an object is less than a certain angle, and then trigger some logic. It can also be used to directly set the object to face a certain direction.

Code example

--Get scene map001