Difference between revisions of "LlApplyImpulse"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=72|func_sleep=0.0|func_energy=10.0|func=llApplyImpulse|p1_type=vector|p1_name=force|p2_type=integer|p2_name=local|func_footnote=applies impulse to object, in local coords if local == TRUE (if the script is physical)|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSLFunctionAll|func_id=72|func_sleep=0.0|func_energy=10.0
|func=llApplyImpulse
|p1_type=vector
|p1_name=force
|p2_type=integer
|p2_name=local
|p2_desc=If {{LSLG|TRUE}}, force is in {{LSLG|local vector}} instead of {{LSLG|global vector}}
|func_desc=Applies impulse to object
|return_text|spec
|caveats=*Object must be physical.
|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]

Revision as of 05:39, 28 January 2007

   Outdated templated used

Please change the template from 'LSLFunctionAll' to 'LSL_Function' (just replace 'LSLFunctionAll' with 'LSL_Function', do this after fixing any other erorr messages.

Summary

Function: llApplyImpulse( vector force, integer local );
0.0 Forced Delay
10.0 Energy

Applies impulse to object

• vector force
• integer local If TRUE, force is in local vector instead of global vector

Caveats

  • Object must be physical.

Examples

Deep Notes

Signature

function void llApplyImpulse( vector force, integer local );