Returns the unit vector representing the local +X axis vector rotated about the +Z axis by the given number of degrees. This is equivalent to calling rotateVector() with unitX as the vector , and unitZ as the axisDirection.
vectorAt ( angle As Number ) As Vector
Argument | Type | Description |
---|---|---|
angle | Number | The angle in degrees from the +X axis. |
Intent > vectorAt(0)
--> Vector_(1.0, 0.0, 0.0, WorldFrame())
Intent >vectorAt(30)
--> Vector_(0.86602540378444, 0.5, 0.0, WorldFrame())