Page 1 of 1

IrrNewt Problems

Posted: Sun Jun 03, 2007 10:28 pm
by morph
my computer crashs wen i try the game

at this line
code:
bike_body = p_world->createCharacterController(p_world->createBody(bodyData));

i have recompiled dll and Lib with irrlicht 1.3

what can i do
thanks Morph

Posted: Mon Jun 04, 2007 12:42 am
by BlindSide
irrlicht 1.3 fails to return the correct scene node type, so you have to set the type manually using bike_body->setType... or something?

Posted: Mon Jun 04, 2007 4:31 pm
by morph
code:
bodyData.Type=newton::EBT_PRIMITIVE_CAPSULE;
bodyData.Node=node1;
bodyData.Mesh=mesh1->getMesh(1);

bike_body = p_world->createCharacterController(p_world->createBody(bodyData));

i have set it the same problem