Important geometry feature missing

Software: Away3D 4.x

fermmm, Newbie
Posted: 25 March 2013 08:50 PM   Total Posts: 7

A spherical coordinates to cartasian 3D converter, is a very important feature I use all the time and there are many questions on this forum related to the subject.

EDIT:
I’ve found the function, is Vector3DUtils.rotatePoint, I didn’t know how to use it and there is no documentation so I thought it was for something else.
This is a simple way to use it and understand how it works:

function polar3D(distance:NumberangleX:NumberangleY:NumberangleZ:Number 0):Vector3D
  {
   
return Vector3DUtils.rotatePoint(new Vector3D(00distance), new Vector3D(angleXangleYangleZ));
  
   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X