Rotation of rolling object is zero.

View previous topic View next topic Go down

Rotation of rolling object is zero.

Post  basco on Mon Mar 09, 2009 3:05 am

I have an object, which affected by some physics starts to roll.
However, when I check the object->_SIO2Transformation->rot->x,y,z variables, they are all zero.
Any input on this?

basco

Posts : 12
Join date : 2009-02-01

View user profile

Back to top Go down

Re: Rotation of rolling object is zero.

Post  basco on Mon Mar 09, 2009 6:07 am

Found partial answer from:
http://forum.sio2interactive.com/sio2-engine-f3/how-to-get-transform-from-physic-object-t414.htm
The thing is that when the object has stopped rotating. It would be nice to get the rotation.

basco

Posts : 12
Join date : 2009-02-01

View user profile

Back to top Go down

Re: Rotation of rolling object is zero.

Post  sio2interactive on Mon Mar 09, 2009 10:02 pm

You are using Bullet, thats the one who's controlling the matrix... not SIO2...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: Rotation of rolling object is zero.

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum