need code for joint based vehicle

prathap

08-02-2010 06:50:49

hi,
it will be very helpful for me,if any one of you have a sample code how to create a joint based vehicle and to move the vehicle.please any one post the code for creating the joint based vehicle and i will be very thankful.

PJani

10-02-2010 00:22:59

Am...you mean joint based so for wheel axes you use hinge. or do you mean RayCast vehicle joint or MultiBodyVehicle Joint?

prathap

10-02-2010 13:16:44

hi PJani ,
thanks for the reply, i need MultiBodyVehicle for my excavator and dozer. For my excavator vehicle i need joints for boom,arm and bucket.For this i need how can i create the joints and how can i apply the forces for lifting this parts. For all my requirements i need a class that fulfill my requirements, i checked even in newton forum, but i am not able to get the solution,so please any one give me a basic code for my requirement.

thanks in advance for the reply

PJani

12-02-2010 03:54:05

the MultibodyVehicle Joint is still under construction in fact whole OgreNewt for newton 2 is underconstruction. Its constantly changing. I started working on MultiBodyVehicle Joint wrapper month ago but its not finished jet, because of some ugly glitches and because i had to make some big changes in joint library. I will see if julio will agree to submit that changes.

From your requirements for vehicle i can predict you don't need suspension maybe you can just use hinges for axles. You can write class from which you can then control torque and steering of your vehicle.