|
Heian Noel
Registered User
Join date: 10 May 2007
Posts: 5
|
05-22-2007 07:43
Hi everybody! I'm still building my bus. I would like to bring people around sitting on the bus sits. Unfortunately, when I use the moveToTarget primitive, it says that I can't move an object when avatars are sitting on it. My idea is to create a guided bus that moves without any external control. So, I'm sure that I need to use the moveToTarget primitive, but it seems I can't... Can anybody help me, please?!?!? Any answers would be really appreciated!
TNX
|
|
Lee Ponzu
What Would Steve Do?
Join date: 28 Jun 2006
Posts: 1,770
|
05-22-2007 10:05
I don't really *know* the answer, but I can point you in a couple of directions... Use llSetPos() to move the bus. You will have to script the target seeking behavior yourself, as in // calculate target, move a small difference toward the target, repeat until there// Another possibility is to look at www.lslwiki.net for the Vehicle tutorials. I have seen flying carpet objects, they must be able to do what you are trying to do.
|
|
Conifer Dada
Hiya m'dooks!
Join date: 6 Oct 2006
Posts: 3,716
|
05-23-2007 05:10
I posed a similar question about my monorail a week or two ago. The only difference is the monorail has a solid track to guide it - I just needed a script to tell it when to start and stop along the track. (haven't automated it yet, I still have to sit in it and drive it!)
|