Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llGetObjectMass

Smokey Hornpipe
Registered User
Join date: 8 Mar 2005
Posts: 3
03-14-2005 10:05
This doesn't appear to be a valid function, however if you search the wikki for the word 'mass' you can read all about it. I am looking for a way to return the mass of an object detected with llSensorRepeat or collision_start. I could then use this along with the velocity to apply the correct amout of opposing force to create an affective force field. Not being able to determine the mass, my field either doesn't work for large objects, or it pelts small object right off the world.

I have read that some objects actually have negative mass so, perhaps this function was decided to be useless as any calculations involving negative mass would not return the desired value. Despite this fact, I think I could still use this function and just do some experimentation an find out how much positive mass an object with negative mass should have, and treat it accordingly (that is assuming the mass figures are at least consitent among themselves).

Any information on the subject of mass and/or the llGetObjectMass function would be appreciated.

Thanks
Cid Jacobs
Theoretical Meteorologist
Join date: 18 Jul 2004
Posts: 4,304
03-14-2005 10:12
I think its suppose to be in 1.6 which is only in preveiw atm. sry :o
_____________________
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
03-14-2005 10:31
/32/c0/37545/1.html
_____________________
---
Smokey Hornpipe
Registered User
Join date: 8 Mar 2005
Posts: 3
Thanks
03-14-2005 11:14
Thanks guys. I'll try using llGetBoundingBox for now.