Weird widget issue

View previous topic View next topic Go down

Weird widget issue

Post  jonusx on 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

View user profile

Back to top Go down

Re: Weird widget issue

Post  sio2interactive on 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.

_________________
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

View previous topic View next topic Back to top

- Similar topics

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