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.
To start the rotation, use the
llRotLookAt function.
This article wasn't helpful for you? Maybe the
related article at the LSL Portal is able to bring enlightenment.
Functions |
Rotation |
Target