Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How can I have a passenger in Vehicle if another is wearing it?

Lion Ewry
Registered User
Join date: 30 Nov 2006
Posts: 88
05-23-2007 10:22
Hi

I build Antique Cars to Sell in SL. I love them, and actually restore them in RL.

To get sufficient detail the are always more than 30 prims. Right now, they work fine if the owner drives or flies them because I kept the "Action" part of everything very simple. I simply instruct the new owner to attach the car to the Av's pelvis and wear the vehicle. I had some special static poses made so the Av is sitting right an has his hand on the wheel etc.

I did not want to get into heavy scripting with features--I think this is asking for trouble. The wheels rotate and sometimes the owner can turn the lights on and off (which were really like candles in those days--so I use small flames in the lights) and if it has a door they can open or close it--but that is about it.

For people into collecting rare cars they are fine. They are authentic replicas of RL ones.

They are simple to use--and pretty much bug free. You basically just move the Av around normally with the arrow keys or Page up or down while he is wearing the car.

It would be nice to be able to have another passenger though. How can I a make a passenger ride in the car if another is wearing it? Will just the addition of a static Pose ball in the passenger seat work? I have a hunch it will not.

I would sure like some advice!

Thanks in advance!

Lion
Virrginia Tombola
Equestrienne
Join date: 10 Nov 2006
Posts: 938
05-23-2007 10:35
From: Lion Ewry
It would be nice to be able to have another passenger though. How can I a make a passenger ride in the car if another is wearing it? Will just the addition of a static Pose ball in the passenger seat work? I have a hunch it will not.


You're right. I make attachment vehicles, too (various bicycles, a blimp and a steam pig). There's a lot of advantages--easier to control, they don't crash over full parcels, easier sim crossing, and higher available prims.

BUT. You can't have a passenger on them. Yes, you can attach a poseball, but others cannot click on it once it's attached to you.

I tried making a "follow drone" with a sit pose ball, but it would noticably lag, even when I ran the scanner every .2 seconds (which isn't kind to the sim, anyway, I understand)

The only solution I know of is how the horse saddles and what not work. Make an invisible vehicle with poseballs attached. While wearing the attachment, the driver gets on the vehicle. Then the passengers click on the poseballs. It's a bit clunky, but it works.
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
05-23-2007 11:04
Well...from what you described I do not believe you can make your current setup use a passenger.

What I understand is basically you're avatar is just walking around normal, but it looks like they're sitting in the car driving around (meaning they hit F and fly, and they're flying the car now, etc)

Since attachments don't Physically exist to other AV's and are just a part of You, no one will be able to sit on them.

You can make attachment+physical vehicles that function and work exactly as any other physical vehicle would, but attach most of the details to the AV. (if you want to see, I have a few physical vehicles that are actually over 130 prims I could show you)

You could try it simply with the freebie car script in a junk car model that you make 100% transparent and then wear the real car, or you could do it more the way I prefer where the basic body of the vehicle is physical, and all of the 'pretty bits' are worn in such a way as they line up with the rest.

Kinda one of those things that's easier to demonstrate than explain.
Lion Ewry
Registered User
Join date: 30 Nov 2006
Posts: 88
Thanks Guys
05-23-2007 12:53
I suspected this would not be as easy as it should be. Still--I might give something a try. My "Invisible Vehicle" could simply be a box with Pose balls on it. hmmm--I need to give that some thought...

It's tough to risk breaking something that works so well! LOL!
grumble Loudon
A Little bit a lion
Join date: 30 Nov 2005
Posts: 612
05-24-2007 22:37
I have been playing with using a motion control technique called "Feed forward"

The driver would wear a object that uses a timer to sends out not only
it's position, but the driver's velocity.

The rider would then either wear a seat or sit on a seat that would
use llAplyImpulse() to set that velocity. A PID would then be used
to adjust the position to deal with the small errors that would occur.

The result is less jerky and sends less updates to the client.

Another advantage is there is no way to be unsit ejected and loose the vehicle.

You also don't have to rez anything.

It's also compatible with the "autobahn" protocol and you could make your cars drive themselves.