Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Trying to get a car to work

Jordmaniac Atlas
Registered User
Join date: 29 Sep 2008
Posts: 20
11-05-2008 14:14
I have a static object that is in the form of a car, and i need to know how to get all the parts working, like the wheels turning and spinning. i got some vehicle scripts, but when i try to put it in, i am sitting in the car the wrong way and it won't move. please help!
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
11-05-2008 21:03
have you tried a mechanic?

seriously though, your root prim needs to be rotated so you don't move the wrong direction, and your seat should have a sit target so you can't face the wrong way. as for spinning wheels, you will probably want to use texture animation, or target omega with those.

vehicle scripts tend to be complex, and are not generally the sort you can just make an object, drop it in and have everything be perfect.
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Vivito Volare
meddler
Join date: 10 Nov 2006
Posts: 41
11-10-2008 09:08
When starting with vehicles, you will save yourself a lot of aggravation by starting with a standard .5x.5x.5 cube and building the vehicle with is as the root prim, and the front of the vehicle being towards the East.

If you haven't seen it, http://www.heatonresearch.com/articles/188/page2.html is a great tutorial on a basic car that should help get you on your way.