Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Attachment rezzing object... where?

Ryder Spearmann
Early Adopter
Join date: 1 May 2006
Posts: 216
05-20-2007 20:02
Hi all...

Rotations and all that are bending my skull in uncomfortable ways.

I have a gun that I want to rez a "spent" casing... kicking it out to the side.

Now, it does that fine... IF I happen to be facing the right direction. If I spin around... then the casing rezzes in unusual places... and the shell casing ejects out the wrong direction.

Some of the issue may be that I am not sure where the position and rotation information is coming from for a worn attachment... the avatar, or the gun?

Grrrr...

This must be code that has been written hundreds of times... anyone have a code segment to share regarging this issue?

Thanks, - Ryder-
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
05-21-2007 00:51
covered numerous times in numerous threads but try here
_____________________
I'm back......