Designing a new game, and have questions.....

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
User avatar
OGRE Expert User
OGRE Expert User
Posts: 829
Joined: Sat Oct 02, 2004 2:20 pm
Location: California, USA

Post by walaber »

when you setup the vehicle, you setup the chassis rigid body, and the position and suspension settings of the tires. then in your game loop, you have a special vehicle-control callback, where you can set the torque / steering angle for all of the tires. you can also control the tire's traction in terms of true tire physics based on slip percentages, etc.

Newton provides many utility functions that make implementing brakes etc really easy. but you need to code the vehicle's "engine" yourself, as Newton simply wants to know the final torque applied to the wheel.
Go Go Gadget OGRE!!

Posts: 57
Joined: Mon Apr 18, 2005 5:46 pm

Post by oldfox »

Ok, so I think I've just atopted it thks! :D

Again if I can look at your code it could save me precious time going in wrong ways with engine torque and transmission :wink:

Post Reply