|
Micheal Kingsford
Registered User
Join date: 28 Dec 2006
Posts: 2
|
11-28-2007 13:12
I have a script I'm using in a motorcycle. It handles good but when you bump something it will stand on the front wheel and spins. I've changed all i can think of with no noticable effect on it. Any help would be very appreciated.
|
|
Mrc Homewood
Mentor of Randomness
Join date: 24 Feb 2007
Posts: 779
|
11-28-2007 13:32
any chance you could post the script or, give alittle more detail on the problem?
EDIT: forgot the mention, sometimes the way it is buildt can affect the way the objects react, sculpies for instance have a inv box around the object, and other times, way objects come in contact can affect it also
|
|
Micheal Kingsford
Registered User
Join date: 28 Dec 2006
Posts: 2
|
11-28-2007 19:49
Well the script is almost 700 lines its a little to much to put in here ,but when you hit something the back wheel lifts off the ground till your facing straight into the ground then spins around eventually coming back down to the ground.Is there something not set right that would kep the bike down on the ground?
|
|
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
|
11-28-2007 22:49
it maybe a mass issue, try a large invisable prim as the bottom of vehicle like a skid
_____________________
L$ is the root of all evil videos work! thanks SL 
|
|
Taeas Stirling
Registered User
Join date: 4 Sep 2004
Posts: 74
|
11-29-2007 01:50
Micheal your scooter has its thrustline set to high. Its pushing through the center of the root prim which is higher than the front wheel contact point when it hits something, ergo over it go's. Use this line to lower your thrustline, and make it an instant hill climber  ) llSetVehicleVectorParam(VEHICLE_LINEAR_MOTOR_OFFSET,<0.0, 0.0, -1.0>  ; Enjoy
|
|
Benius Krugman
Registered User
Join date: 27 Apr 2006
Posts: 0
|
Cg
12-06-2007 17:36
I could be the center of gravity is higher than the front wheel. Just like in RL, if the front wheel of a motorcycle hits a fixed object, it is going to flip ove teh front wheel.
|