Render freeze after widget.
Render freeze after widget.
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
Similar topics
» The widget in the 3D scene
» move widget
» Widget area
» Widget events
» Widget _SIO2widgettapdown area
» move widget
» Widget area
» Widget events
» Widget _SIO2widgettapdown area
Permissions in this forum:
You cannot reply to topics in this forum