Reference 〉 Function


Rotates the agent’s orientation clockwise by angle, which will be understood as either degrees or radians depending on the value of baseAgent.angleUnit.

Agents of any primitive can be rotated, except patches, which have no orientation and will raise a RuntimeError.


  • angle num, required

    The number of degrees or radians to rotate the agent.

Notes and Examples

  1. Contribute a Note

    Your email address will not be published. Required fields are marked *

    You may use limited HTML for formatting. Please embed blocks of code in <pre><code> </code></pre> tags.