Car (physcis) as node/chase cam?

I want to put the chassis into a node, in order to make a fixed cam behind the car, but the collision detection seems to be broken with nodes.



create cargfx and wheelgfx

create node from cargfx

create 4 wheelnodes from wheelgfx

add wheels to carnode

add cameranode to car

add carnode to worldnode



any solution? maybe an other way to siply put the cam behind the car?



Thomas

well, cameraNode is something that you should NEVER use with physics…Because they are incompatible. The camera is controlling the physics, when it should be the physics is controlling the camera. I suggest you have alook at this thread:



http://www.jmonkeyengine.com/jmeforum/viewtopic.php?t=1134 That should do what you want to do.



DP