ganusajjan / min3d

Automatically exported from code.google.com/p/min3d
0 stars 0 forks source link

Object rotation & movement #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi, 
This is an amazing framework thanks!

I'm trying to move an .obj Object with the accelerometer throu the world. But 
if the Object turns 180° around the Y axis for example, the movement around 
the other axes are mirrored. It seems to be that the axes i'm using aren't 
locked to the Object. 

I'm using this to rotate the object with the accelerometer values:
model.rotation().x = rotX;
model.rotation().y = rotY;
model.rotation().z = rotZ;

To move the whole object, locked axes would be useful. Otherwise i would use 
trigonomie to fly to the pointing direction of the Object, but this doesent 
remove the problem of the mirroring axes.

I hope you can help me :)
Sam
(Im sorry for bad english :P)

Original issue reported on code.google.com by der.appb...@googlemail.com on 26 Dec 2011 at 9:33

GoogleCodeExporter commented 9 years ago
Same problem.

Original comment by ahmetzam...@gmail.com on 26 Sep 2014 at 3:56