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.

Weird widget issue

2 posters

Go down

Weird widget issue Empty Weird widget issue

Post  jonusx Mon May 04, 2009 10:13 am

Here's my problem...

I Have a dice rolling app that you can choose three different types of dice. I use three widgets to switch which dice are on the screen.

this is the code I use to move my dice on screen after the widget is pressed:
Code:
btMotionState* motion;
   btTransform earth;
   
   motion = _SIO2object->_btRigidBody->getMotionState();
   earth.setOrigin(btVector3(21.724f, 4.471f, 4.686f));
   motion->setWorldTransform(earth);
   _SIO2object->_btRigidBody->setMotionState(motion);

Occasionally, after I press the widget, everything freezes. It doesn't crash. But nothing works. It happens every once and a while. Does anyone know what may cause this?

jonusx

Posts : 16
Join date : 2009-03-13

Back to top Go down

Weird widget issue Empty Re: Weird widget issue

Post  sio2interactive Mon May 04, 2009 4:17 pm

This is not coming from SIO2 I can assure you Wink

If suddenly your app gets into an infinite loop you can use Activity Monitor + Sample Process, with that you can get a clear idea of what the application is doing.
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Back to top

- Similar topics

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