Difference between revisions of "LlPushObject"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 5: Line 5:
|p2_type=vector|p2_name=impulse
|p2_type=vector|p2_name=impulse
|p3_type=vector|p3_name=ang_impulse|p3_desc=angular impulse
|p3_type=vector|p3_name=ang_impulse|p3_desc=angular impulse
|p4_type=integer|p4_name=local|p4_desc=boolean, if {{LSLG|TRUE}} uses the [[Viewer coordinate frames#Local|local]] axis of '''target''', if {{LSLG|FALSE}} uses the [[Viewer coordinate frames#Region|region]] axis.
|p4_type=integer|p4_name=local|p4_desc=boolean, if {{LSL Const|TRUE|integer|1}} uses the [[Viewer coordinate frames#Local|local]] axis of '''target''', if {{LSL Const|FALSE|integer|0}} uses the [[Viewer coordinate frames#Region|region]] axis.
|func_footnote
|func_footnote
|func_desc=Applies '''impulse''' and '''ang_impulse''' to object '''id'''
|func_desc=Applies '''impulse''' and '''ang_impulse''' to object '''id'''
|return_text
|return_text
|spec
|spec
|caveats
|caveats=*Only works on land where Push is not restricted or where the script is owned by the land owner.
**If the land is owned by a group, the scripted object must be deeded to the same group.
|constants
|constants
|examples
|examples
Line 18: Line 19:
|also_tests
|also_tests
|also_articles
|also_articles
|notes=QUESTION: If this function is restricted in "My Land" is it allso restric ted for the owner?
|notes
|permission
|permission
|negative_index
|negative_index

Revision as of 20:47, 20 July 2007

Summary

Function: llPushObject( key target, vector impulse, vector ang_impulse, integer <span title="boolean, if TRUE uses the local axis of target, if FALSE uses the region axis." style="border-bottom:1px dotted; cursor:help;">local );

Applies impulse and ang_impulse to object id

• key target Avatar or object UUID in the sim
• vector impulse
• vector ang_impulse angular impulse
• integer local boolean, if TRUE uses the local axis of target, if FALSE uses the region axis.

Caveats

  • Only works on land where Push is not restricted or where the script is owned by the land owner.
    • If the land is owned by a group, the scripted object must be deeded to the same group.
All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

Search JIRA for related Issues

Signature

function void llPushObject( key target, vector impulse, vector ang_impulse, integer local );