at_rot_target
LLEvents:on("at_rot_target", function(TargetNumber: number, TargetRotation: quaternion, CurrentRotation: quaternion) -- ...end)This event is triggered when a script comes within a defined angle of a target rotation. The range and rotation are set by a call to llRotTarget.
Parameters
-
TargetNumber(number) -
TargetRotation(quaternion) -
CurrentRotation(quaternion)
Examples
Section titled “Examples”Add example usage here showing how to handle the at_rot_target event in SLua/Luau.
Add additional notes, caveats, or tips specific to using this event in SLua/Luau.
See Also
Section titled “See Also”- Related events and functions can be linked here
- LSL equivalent: at_rot_target