Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

llDetectedCenterOfMass()

Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
11-10-2003 05:51
Function: vector llDetectedCenterOfMass(integer num)

Purpose: To detected the center of mass of a sensed object.
Ryen Jade
This is a takeover!
Join date: 21 Jun 2003
Posts: 1,329
11-11-2003 13:05
Umm, what would be the use of this? Besides what it does (finds center of mass). What could it be used it?
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
11-13-2003 17:31
It will only work for objects you can put a script on, of course, but you can pretty much roll your own sensor lib with various detected* functions with llWhisper, Say and Shout... so if this is for a special project, just use o2o comms and get everyone to report their center of mass back to the detector.
Alondria LeFay
Registered User
Join date: 2 May 2003
Posts: 725
11-13-2003 19:49
No, it is actually needed since I need to calculate where an Avatar's eyelevel is. From what I gathered, an Avatar's eye level is .75M above their center of mass, which there currently is no way to detect.