FANDOM


setfixangle is an attachment-specific function sets the pre-set angle of an Attachment to its argument number in degrees.

Its main use is to get other types of joints to behave like Servos through scripting, saving on space and object count.

this code snippet will get the Target's Attachment and set its angle to rotate at 1 degree per Tick when placed on the OnFrame function.

lb.gettarget().getattachment().setfixangle(lb.getticks())