Class: Entity
Lua
C++
Edit

Entity::Point

This method aligns an axis of the entity to point to another entity or a point in global space.

Syntax

Parameter Description
entity entity to point to
position, (x, y, z) position in space to point to
axis axis to align (0, 1, or 2)
rate can be used to gradually align the entity
roll rotation around the axis
Copyright © 2024 Ultra Software.
All rights reserved.