element.rotation: Difference between revisions

Jump to navigation Jump to search
no edit summary
 
No edit summary
Line 2: Line 2:
|endpoint = server
|endpoint = server
|type = method
|type = method
|class = Transformable
|class = Element
|name = setRotation
|name = setRotation
|parameters = Vec3 rotation
|parameters = Vec3 rotation
Line 8: Line 8:
|returnTypes = void
|returnTypes = void
|returnFail1 = void
|returnFail1 = void
|usage = set the 3D rotation for the transformable, in XYZ euler angles
|usage = set the 3D rotation for the element, in XYZ euler angles
|notes = This function is computationally expensive, use [[Entity.heading|Entity.heading]] instead if you only need to set the Z rotation.
|notes = This function is computationally expensive, use [[Entity.heading|Entity.heading]] instead if you only need to set the Z rotation.
}}
}}
2,603

edits

Navigation menu