Using Ofusion and OgreNewt - Weird Stuff happened

guk_guk41

14-12-2006 16:37:12

Hi, I'm using Ofusion and OgreNewt right now. When try to load a scene ( In my case a race track ), It's fine, but when I try to apply a collision detection to scene using TreeCollision and start doing experiment by putting a car and apply ConvexHull to it, nothing happened.
I've tried to use oFusion with Demo5 but still the car is doing fine when i put it over the simple_terrain, but when I move it over the track, nothing happened.
Maybe this problem related to oFusion multiple camera or else... Please help me

guk_guk41

15-12-2006 14:58:07

ah, i found the problem. It seems that when I try to set the car's position 2000-3000 point away from the center of the scene, the car just freeze in the air and the wheels are left behind. gravity force work if the car just translated 5-19 point away. I Wonder why this happen? :?

ProfesorX

15-12-2006 18:42:17

it sounds to me a problem with the size of the world (your world isn't sufficient big). Check OgreNewt::World::setWorldSize() for details