Jump to content

Help with colision


Shihan Feiri
 Share

You are about to reply to a thread that has been inactive for 3345 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Hi there. I just finish some work with race start and end point and now on end i have see that colision is not give me players UUID if they is on eg. bike or in car.

 

Whole work was on using players UUID to set start, end, check points...

 

What can i do to get uuid of player on attached vehicle, and to have colision as function. or is better way to do that? I dont like sensor too much lol

Link to comment
Share on other sites


Dora Gustafson wrote:

The collision will give you the UUID of the bike or car.

Now use
to get the UUID of the vehicle owner.

Even shorter: use
inside your collision event handler.

I had this message from beyond:

is only effective if the sitter is the person that owns the object being detected

If someone has a first hand knowledge about this please make a note in the Wiki llGetOwnerKey()

Link to comment
Share on other sites


Dora Gustafson wrote:

 

I had this message from beyond:

is only effective if the sitter is the person that owns the object being detected

If someone has a first hand knowledge about this please make a note in the Wiki

That's true, but not because it's a limitation of llGetOwnerKey.  If the idea is to get the UUID of the driver,  then asking for llGetOwnerKey(car'sUUID) is only going to yield the correct answer if person driving is the owner of the car.  If the driver is in someone else's car. it will still tell you the owner's UUID, but that's not what you want to know.  . 

 

Link to comment
Share on other sites


Rolig Loon wrote:

That's true, but not because it's a limitation of
llGetOwnerKey
.  If the idea is to get the UUID of the driver,  then asking for
llGetOwnerKey(car'sUUID)
is only going to yield the correct answer if person driving is the owner of the car.  If the driver is in someone else's car. it will still tell you the owner's UUID, but that's not what you want to know.  . 

That's not a caveat,

That is the logical thing to do.

Thank you for explaining it to me:)

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3345 days.

Please take a moment to consider if this thread is worth bumping.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...