bigbob85
18-05-2009 12:13:08
Hey,
Im wondering if anyone can help me with my joints in nxogre.
My game involves driving a forklift. I've managed to create the wheels (see here if you can help me attach wheel meshes to my forklift) and have it driving around with collisions and stuff, and now im onto creating the forks and mast (may not be called a mast, but Its what I call the big up down part of it).
the 3 seperate meshes are loaded, body, mast and forks. Mast is a fixed joint to the body (I wanted this to be pivitable at the bottom to simulate it tilting back.. but I couldnt get that to work properly), and forks should be jointed somehow to allow up/down movement.
I found this joint type, and tried to implement it.
It works fine, except for the fact its quite loose. It can move away from the forklift if i break suddenly (see pic). I also see problems in the future with load on the forks. I would like to have them as a fixed joints which I can manualy move, but I cant get this to work with NxOgre. Trying to get/set anchor position causes it to crash.
Does anyone have any ideas what I should try do instead? Or tips on using joints.
Im wondering if anyone can help me with my joints in nxogre.
My game involves driving a forklift. I've managed to create the wheels (see here if you can help me attach wheel meshes to my forklift) and have it driving around with collisions and stuff, and now im onto creating the forks and mast (may not be called a mast, but Its what I call the big up down part of it).
the 3 seperate meshes are loaded, body, mast and forks. Mast is a fixed joint to the body (I wanted this to be pivitable at the bottom to simulate it tilting back.. but I couldnt get that to work properly), and forks should be jointed somehow to allow up/down movement.
I found this joint type, and tried to implement it.
It works fine, except for the fact its quite loose. It can move away from the forklift if i break suddenly (see pic). I also see problems in the future with load on the forks. I would like to have them as a fixed joints which I can manualy move, but I cant get this to work with NxOgre. Trying to get/set anchor position causes it to crash.
Does anyone have any ideas what I should try do instead? Or tips on using joints.