Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Collision Detection

Yikarso Barrowstone
Registered User
Join date: 30 May 2009
Posts: 7
07-12-2009 21:00
I have a project I'm working that requires detection of collision between two objects. I can get collision to work, but not specific collision. Does anyone know if there's a way to detect collision only with a specific object?
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
07-12-2009 21:12
See . You can filter to trigger a collision event by a specific object/avatar by name or UUID.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask.... ;)

Look for my work in XStreetSL at
Yikarso Barrowstone
Registered User
Join date: 30 May 2009
Posts: 7
07-12-2009 21:43
Thanks so much for the quick reply :). I'm sure this will be a huge help.
Yikarso Barrowstone
Registered User
Join date: 30 May 2009
Posts: 7
07-12-2009 23:59
That worked perfectly :D. Now I have another question for anyone who may know.. Is there a way to move to a specific character in a string? Like how in C++ you can access the 5th slot in a string by using randomString[4].
Dora Gustafson
Registered User
Join date: 13 Mar 2007
Posts: 779
07-13-2009 01:00
Sure:)
http://www.lslwiki.net/lslwiki/wakka.php?wakka=string
it is just a matter of combining some of the 6 string functions.
_____________________
From Studio Dora