n1000
06-02-2007 15:42:43
I am new to physics and I have a few questions about nxOgre.
1) If I want to resize/scale the collision mesh, how is this done. When i use the mesh itself for the collision mesh, and then set the scale for the SceneNode larger than (1,1,1), the collision mesh is still using the (1,1,1) scale. How is this done?
2) What type of joint would I use for a wheel on a car?
3) How does one go about figuring out "where" on the car to attach the wheel? Are there any general techniques people use?
4) If I had a car and I wanted it to be able to climb stairs, does anyone have any tips on how I might accomplish this? Would I make the wheels very "sticky" so they would grip the stairs and pull the car body up? I really don't have any idea how to approach this and make it look just like the car is gripping each individual stair, pulling itself up by the front wheels, and then repeating until it gets to the top of the entire staircase.
Thanks again for the excellent NxOgre.
1) If I want to resize/scale the collision mesh, how is this done. When i use the mesh itself for the collision mesh, and then set the scale for the SceneNode larger than (1,1,1), the collision mesh is still using the (1,1,1) scale. How is this done?
2) What type of joint would I use for a wheel on a car?
3) How does one go about figuring out "where" on the car to attach the wheel? Are there any general techniques people use?
4) If I had a car and I wanted it to be able to climb stairs, does anyone have any tips on how I might accomplish this? Would I make the wheels very "sticky" so they would grip the stairs and pull the car body up? I really don't have any idea how to approach this and make it look just like the car is gripping each individual stair, pulling itself up by the front wheels, and then repeating until it gets to the top of the entire staircase.
Thanks again for the excellent NxOgre.