Two wheeled vehicle, not falling over..
by Graham Reeves · in Torque Game Engine · 08/03/2003 (3:59 pm) · 1 replies
Ive got my brother to quickly notch up a bike model for me, and Ive setup the two wheels okay so I can drive foward/backwards (the camera's not working but thats another issue) but after reading previous forum posts about two wheeled vehicles falling over, I'm a bit concerned that my bike isnt.
The wheels are about the same width as the bike at the moment, and the width of the collision box is also about the same width as the bike, so could it just be that the wheels are thick enough to support it?
although I tried changing the center of gravity which made the bike tilt, but it didnt fall over at all.
I'm using the HEAD from a few days ago, so I was wondering if anything had changed from the original which would allow two wheeled vechiles to stand up
In case anyone needs or wnats to see what Im talking about, theres a picture... www.fatgrah.am/bit_right.jpg
(sorry if this is in the wrong forum, feel free to move it or point me in the right direction)
The wheels are about the same width as the bike at the moment, and the width of the collision box is also about the same width as the bike, so could it just be that the wheels are thick enough to support it?
although I tried changing the center of gravity which made the bike tilt, but it didnt fall over at all.
I'm using the HEAD from a few days ago, so I was wondering if anything had changed from the original which would allow two wheeled vechiles to stand up
In case anyone needs or wnats to see what Im talking about, theres a picture... www.fatgrah.am/bit_right.jpg
(sorry if this is in the wrong forum, feel free to move it or point me in the right direction)
About the author
Torque Owner Matthew Jones
The script code you would be looking for is.
datablock WheeledVehicleSpring(DefaultCarSpring)
{
// Wheel suspension properties
length = 0.3; // Suspension travel
force = 2600; // Spring force
damping = 800; // Spring damping
antiSwayForce = 5; // Lateral anti-sway force
};
The MASS doesn't get used anymore or it defaults to the pivot point of the bounding box (I ain't figured out whats going on yet).
For modelling things you usually post in the 3dmodelling section. No biggy
Hope that helps
Matt