Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.PhysObj:getVelocityAtPoint

S๐Ÿท๏ธ PhysObj

Part of StarfallEx namespace

๐Ÿ”— External
PhysObj:getVelocityAtPoint(vec)
View on GitHub|lua/starfall/libs_sh/physobj.lua:96
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Gets the velocity of the physics object at an arbitrary point in its local reference frame This includes velocity at the point induced by rotational velocity

Parameters

NameTypeDescription
vecVectorThe point to get velocity of in local reference frame

Returns

TypeDescription
VectorVector Local velocity of the physics object at the point

Examples

No examples available.

Used In

No usages found in the codebase.