Michael Psaltery
Registered User
Join date: 6 Jun 2004
Posts: 57
|
08-11-2005 19:56
Does anyone out there have vehicle scripting experience, and can you confirm a problem I've been seeing? Specifically: When I try to use llSetVehicleVectorParam(VEHICLE_LINEAR_MOTOR_DIRECTION, <0,Y,0>  ; to strafe by moving the vehicle on the Y axis, instead of straight-line movement, my vehicle spins. I've got banking and deflection all turned off, and the motor offset is at zero. I have exhausted every parameter, but nothing helps. So, if anyone else can confirm this and/or give me a vehicle script that allows for proper strafing, I would really appreciate your help. Thanks!
|
Jesrad Seraph
Nonsense
Join date: 11 Dec 2004
Posts: 1,463
|
08-12-2005 02:41
I have this problem too on some of my flying vehicles :/ I think it's because the linear motor impulsions are applied at the root prim and the movement is set around the linkset's center of mass, which often are in different places. Try to see if calculating the difference between the two and passing it as motor offset helps ?
_____________________
Either Man can enjoy universal freedom, or Man cannot. If it is possible then everyone can act freely if they don't stop anyone else from doing same. If it is not possible, then conflict will arise anyway so punch those that try to stop you. In conclusion the only strategy that wins in all cases is that of doing what you want against all adversity, as long as you respect that right in others.
|
Exchange Street
Registered User
Join date: 6 Sep 2004
Posts: 69
|
08-12-2005 09:02
I believe the problem and solution may be similar to this thread: /54/68/26354/1.html
|