integer llRotTarget(rotation rot, float error)
Sets object rotation
s) of rotation
as a rotational target
s 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
This article wasn't helpful for you? Maybe the related article at the LSL Portal
is able to bring enlightenment.