ll.GetCenterOfMass() : vector
Returns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass).
ll.GetCenterOfMass()
{
"def": "func",
"desc": "Returns the prim's centre of mass (unless called from the root prim, where it returns the object's centre of mass).",
"energy": 10,
"sleep": 0,
"pure": true,
"link": "https://wiki.secondlife.com/wiki/LlGetCenterOfMass",
"name": "GetCenterOfMass",
"signatures": [
{
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
"vector"
],
"optional": false
}
],
"args": []
}
]
}