vec3.addPolar
(Redirected from Vec3.addPolar)
Jump to navigation
Jump to search
Method
Server and Client
Online and Offline
Available since Server 1.0.0, Client 1.0.0
Vec3 vec3.addPolar(float radius, float angle)
The vec3.addPolar method is used to fetch a new 3D vector with a 2D offset added to the vector, calculated with the polar co-ordinate system. The new vector's z co-ordinate is copied.
Parameters
1) | float | radius | The radius of the circle. |
2) | float | angle | The angle of the line. |
Return
Vec3 | The new 3D vector. |
Types
Shared
Vec3
Notes
There aren't any notes for this method.
Examples
There aren't any examples for this method.
Compatibility
There isn't any compatibility information for this method.