Skip to content

llApplyImpulse

function ll.ApplyImpulse(Force: vector, Local: number)

Applies impulse to the object.

If Local == TRUE, apply the Force in local coordinates; otherwise, apply the Force in global coordinates.

This function only works on physical objects.

Parameters
Force(vector)
Amount of impulse force to apply.
Local(number)
Boolean, if TRUE, force is treated as a local directional vector instead of region directional vector.

Add example usage here showing SLua/Luau syntax with ll.ApplyImpulse().

Add additional notes, caveats, or tips specific to using this function in SLua/Luau.