This method retrieves the entity velocity after the previous physics update, in global or local space.
Parameter | Description |
---|---|
global | if set to true global space is used, otherwise local space is used |
Returns the entity's velocity, in meters per second.