Class: Entity
Lua
C++
Edit

Entity::GetVelocity

This method retrieves the entity velocity after the previous physics update, in global or local space.

Syntax

Parameter Description
global if set to true global space is used, otherwise local space is used

Returns

Returns the entity's velocity, in meters per second.

Copyright © 2024 Ultra Software.
All rights reserved.