Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

How find an object in attachment

Mauro Tammas
Registered User
Join date: 16 Mar 2007
Posts: 7
03-12-2008 03:31
Sensor function doesn't find object in attachment, the only way i have found to locate the position is ask directly to the object(throught a listen channel) its asbolute region position as sum of llGetPos and llGetLocal pos

Anyone knows a better way to do this?

Thanks
Escort DeFarge
Together
Join date: 18 Nov 2004
Posts: 681
03-12-2008 04:43
Nope. BTW the sum of llGetPos() + llGetLocalPos() will be erroneous.

llGetPos() will return the avatar's position.
llGetLocalPos() will return the attachment position **relative to the attachment point**.
_____________________
http://slurl.com/secondlife/Together