Difference between revisions of "At rot target"

From Second Life Wiki
Jump to navigation Jump to search
m
m
Line 3: Line 3:
|p2_type=rotation|p2_name=targetrot|p2_desc=[[llRotTarget]] rot parameter
|p2_type=rotation|p2_name=targetrot|p2_desc=[[llRotTarget]] rot parameter
|p3_type=rotation|p3_name=ourrot|p3_desc=current rotation (similar to [[llGetRot]])
|p3_type=rotation|p3_name=ourrot|p3_desc=current rotation (similar to [[llGetRot]])
|event_desc=Result of {{LSLG|llRotTarget}} library function call
|event_desc=Result of [[llRotTarget]] library function call
|constants
|constants
|spec
|spec
Line 14: Line 14:
{{LSL DefineRow||[[at_target]]|}}
{{LSL DefineRow||[[at_target]]|}}
{{LSL DefineRow||[[not_at_target]]|}}
{{LSL DefineRow||[[not_at_target]]|}}
|also_functions={{LSL DefineRow||[[llTarget]]|Setup a target position}}
|also_functions=
{{LSL DefineRow||[[llTarget]]|Setup a target position}}
{{LSL DefineRow||[[llTargetRemove]]|Stop a target position}}
{{LSL DefineRow||[[llTargetRemove]]|Stop a target position}}
{{LSL DefineRow||[[llRotTarget]]|Setup a target rotation}}
{{LSL DefineRow||[[llRotTarget]]|Setup a target rotation}}
Line 25: Line 26:
|cat1=Target
|cat1=Target
|cat2=Physics
|cat2=Physics
|cat3
|cat3=At Target
|cat4
|cat4
}}
}}

Revision as of 06:21, 20 October 2008

Description

Event: at_rot_target( integer tnum, rotation targetrot, rotation ourrot ){ ; }

Result of llRotTarget library function call

• integer tnum llRotTarget return
• rotation targetrot llRotTarget rot parameter
• rotation ourrot current rotation (similar to llGetRot)

Caveats


Examples

See Also

Events

•  not_at_rot_target
•  at_target
•  not_at_target

Functions

•  llTarget Setup a target position
•  llTargetRemove Stop a target position
•  llRotTarget Setup a target rotation
•  llRotTargetRemove Stop a target rotation

Deep Notes

Signature

event void at_rot_target( integer tnum, rotation targetrot, rotation ourrot );