Bullet Locks up(Update)

MetaKnight
Posts: 1
Joined: Thu Oct 02, 2008 3:12 pm

Bullet Locks up(Update)

Post by MetaKnight »

It seems to lock up randomly, is there any debug output I can get from the system?

I only have 1 rigid body and 1-4 static bodies.

It seems to happen when I move my rigid body:
btMotionState* motion = m_pBallBody->getMotionState();
btTransform world;
world.setOrigin(btVector3(fXPos,fYPos,fZPos));

motion->setWorldTransform(world);
m_pBallBody->setMotionState(motion);

m_pBallBody->setLinearVelocity(btVector3(fXVel*0.2f,fYVel*0.08f,fZVel*0.4f));
m_pBallBody->setAngularVelocity(btVector3(0,6.0f,0));
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Bullet Locks up(Update)

Post by Erwin Coumans »

Can you compile/run in debug mode and provide a full callstack? If necessary, just 'break' during the 'lock up'.

Thanks,
Erwin