sio2TransformRotateZ camera slowly?
2 posters
sio2TransformRotateZ camera slowly?
how can i rotate the camera slowly?
skaterazn- Posts : 12
Join date : 2009-07-03
Re: sio2TransformRotateZ camera slowly?
Check in example tutorial04, and the way I do the camera rotation, the lower the factor the slower the camera will turn...
Re: sio2TransformRotateZ camera slowly?
thanks, but it still doesn't solve my problem.
what i want is, when i tap the screen, the camera will move forward with:
sio2->_SIO2camera->_btRigidBody->setLinearVelocity( btVector3( 0.0f, 5.0f,0.0f ) );
and after that, the camera should rotate 90 degrees.
my first problem is, how do i rotate after the camera has reached the specific point?
and my second problem is, when i'm using: ROT_Z = ( ( 1.570796327 * SIO2_RAD_TO_DEG ) * 0.0015f );
the camera doesn't stop after 90 degrees.
sorry for my bad english
what i want is, when i tap the screen, the camera will move forward with:
sio2->_SIO2camera->_btRigidBody->setLinearVelocity( btVector3( 0.0f, 5.0f,0.0f ) );
and after that, the camera should rotate 90 degrees.
my first problem is, how do i rotate after the camera has reached the specific point?
and my second problem is, when i'm using: ROT_Z = ( ( 1.570796327 * SIO2_RAD_TO_DEG ) * 0.0015f );
the camera doesn't stop after 90 degrees.
sorry for my bad english
skaterazn- Posts : 12
Join date : 2009-07-03
Similar topics
» tutorial16 (soft bodies) runs very slowly
» Using my own camera
» Camera Help
» Camera moving
» Camera Sugestion
» Using my own camera
» Camera Help
» Camera moving
» Camera Sugestion
Permissions in this forum:
You cannot reply to topics in this forum