User Tools

Site Tools


4rpl:commands:rotateobj

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
4rpl:commands:rotateobj [2021/01/14 23:05] – created virgilw4rpl:commands:rotateobj [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +~~NOTOC~~
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
  
Line 6: Line 7:
  
 ===== Description ===== ===== Description =====
-Rotates an obj no more than maxDegrees towards the angles (in degrees) specified by the rot vector.+Rotates an obj no more than maxDegrees towards the angles (in degrees) specified by the rot vector.\\ 
 +This is done to the object's world orientation.
  
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
 #Rotate an "arm" child object around the y axis to point at 45 degrees #Rotate an "arm" child object around the y axis to point at 45 degrees
-RotateUnit(self "arm" V3(0 45 0) 1)+RotateObj(self "arm" V3(0 45 0) 1)
 </code> </code>
  
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
4rpl/commands/rotateobj.1610665559.txt.gz · Last modified: 2025/02/14 14:56 (external edit)