FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Render freeze after widget.

Go down

Render freeze after widget. Empty Render freeze after widget.

Post  jonusx Tue Apr 28, 2009 9:21 pm

I have a few widgets that when pressed, they change a physic objects position on to a playfield. every once an a while, after i press a widget, the render will freeze on the current frame. It doesn't crash just freezes. Why would this happen? This is the code that I use to transport my object:

Code:
void player_callback_tap_down( void *, void *, vec2 * )
{
   btTransform earth;
   btMotionState* motion;

   motion = _SIO2objectCyl->_btRigidBody->getMotionState();
   earth.setOrigin(btVector3(0.0f, 0.0f, 3.0f));
   motion->setWorldTransform(earth);
   _SIO2objectCyl->_btRigidBody->setMotionState(motion);
}

jonusx

Posts : 16
Join date : 2009-03-13

Back to top Go down

Back to top

- Similar topics

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