Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Attachments & Collisions

Markie Macdonald
Hello MUM! x
Join date: 20 Dec 2004
Posts: 65
06-06-2005 03:02
I'm trying to create a game with swords that (of course) AV's wear. When the sword is not being worn, and colides with an object it has a collision event, but if the sword is attached and collides it does nothing (works like it is a phantom), even if I switch on volume dectect to true, still nothing!

Am I right in saying, attachments do not produce collision events?

Thanks
_____________________
You may be a king or a little street sweeper, but sooner or later... You'll dance with the reaper YEAH!
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
06-06-2005 03:39
Avatars and objects rezzed from attachments produce collisions.

The actual attachment will not - collision events will be read into it every time the avatar itself collides with something.

Here's why. Attachments themselves are phantom and do not have collision detection when worn.

So your best bet is to rez an object to take the collision, or use the avatar itself.
_____________________
---
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
06-06-2005 04:15
IIRC all the scripts for Olde London etc. including the duelling swords they produced was supposed to be made freely available. I must admit I don't remember seeing it, but you could ask around. I think Garth Fairlight did the scripting for it. I can't get in world at the moment to check though.

From what I remember from an interview they rezzed objects to match the swords positions and used them to do the damage, but it didn't go into any more detail.
Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
06-06-2005 04:18
amusing this suddent hype for the sowrdfighting games ... i am wondering why...
_____________________

tired of XStreetSL? try those!
apez http://tinyurl.com/yfm9d5b
metalife http://tinyurl.com/yzm3yvw
metaverse exchange http://tinyurl.com/yzh7j4a
slapt http://tinyurl.com/yfqah9u