I have a point in ObjectContainer3D, and need to know where that point on the 2d.
ObjectContainer3D - where it is in 2d scene?Software: Away3D 4.x |
||
|
||
Fabrice Closier, Administrator
Posted: 05 March 2013 04:44 PM Total Posts: 1265 [ # 1 ] Look at project and unproject methods in View3D or Camera3D. |
||
vorodis2, Newbie
Posted: 06 March 2013 09:24 AM Total Posts: 22 [ # 2 ] Thank you. But this half woes. |
||
|
||
Fabrice Closier, Administrator
Posted: 07 March 2013 04:37 PM Total Posts: 1265 [ # 4 ] you can use Matrix3D transformvector method using the container transform matrix3d if its a point in space or if you want the position of one of the object in these container. use mesh.scenePosition instead of position. |
||
geekay, Jr. Member
Posted: 07 March 2013 07:21 PM Total Posts: 40 [ # 5 ]
If you are using Away3D 4.1, you can use:
//view is your View3D object This will give you a 3D vector, and the X and the Y properties in that will give you the position on the screen your object is. |
||
|
||
|