When in Drag3D, drag object only from object.x=0 to object.x=100?
Away3D 3.6 Drag3D drag only xSoftware: Away3D 3.x |
||
|
||
Fabrice Closier, Administrator
Posted: 17 December 2011 11:00 PM Total Posts: 1265 [ # 1 ] its a mouse projection, say a ray from the camera going through the mouse coordinate till it hits the x,y plane (assuming you have set the xy plane). so depending on the distance camera to plane, the hit will have a different maximum. Assuming again here that this gives you the max 100 at a given distance. If you move the camera away from the plane, the “maximum” will “grow” too. If you set the plane to the object position, you can also have this min and max offsets calculated from the object itself. default being the world 0,0,0. |