Class: Entity
Lua
C++
Edit

Entity::SetVelocity

This method sets the velocity of an entity.

Syntax

Parameter Description
velocity, (x, y, z) velocity to set, in meters per second
global if set to true velocity is in global space, otherwise local space is used
Copyright © 2024 Ultra Software.
All rights reserved.