SETORIENTATION

Synopsis
SETORIENTATION orientation
Description

Orients the turtle to a new absolute orientation. The orientation input is a list, the [roll pitch heading] in degrees. It is important to understand your orientation in 3D.

SETORIENTATION is designed to run in PERSPECTIVE mode.

You can get your orientation with ORIENTATION. Keep in mind that ORIENTATION may not output the exact same values that you set, but it does output an equivalent orientation. For example, if you run SETORIENTATION [0 105 0], then ORIENTATION may output [180 75 180].

Example
PERSPECTIVE
SETORIENTATION [180 45 90]
SHOW ORIENTATION
[180 45 90]
See Also
ORIENTATION
SETROLL
SETPITCH
SETHEADING

SourceForge.net Logo