LSL Wiki Mirror 10-5-2006: llRotTarget

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
integer llRotTarget(rotation rot, float error)

Sets object rotation within error (in radians) of rotation as a rotational target and returns an integer handle for the target, which can then be used in llRotTargetRemove, and is supplied to the at_rot_target event.

Whenever the object rotation comes within error range of the rotation rot, the at_rot_target event is raised; when it doesn't, not_at_rot_target is raised instead.


Functions | Rotation | Target
There are 3 comments on this page. [Display comments/form]