Problem about addEntity

Problem about addEntity

Imagen de 111 1.

Hi, Everyone,

I use Havok 2012.1.0.r1. And I meet a problem about hkpWorld::addEntity()

just after the code 

hkpEntity *pRes = pWorld->addEntity(pSomeRigidBody);

excuted. The bool expection (void*)pRes == (void*)pSomeRigidBody is true, but pSomeRigidBody->getWorld() return null.

Do this means pWorld failed to add pSomeRigidBody to the world? Why pRes still equal to pSomeRigidBody?

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de 111 1.

Problem solved.

Imagen de Havok - Josh S.

Well done. Do you mind adding a short description of how you were able to solve the problem?

Josh S. Havok Developer Support Engineer www.havok.com

Inicie sesión para dejar un comentario.