ll.SetAngularVelocity (AngVel: vector, Local: number) -> ()Sets an object's angular velocity to AngVel, in local coordinates if Local == TRUE (if the script is physical). Has no effect on non-physical objects.
ll.SetAngularVelocity(vector(1,1,1), 3.14)
{
"def": "func",
"desc": "Sets an object's angular velocity to AngVel, in local coordinates if Local == TRUE (if the script is physical).\nHas no effect on non-physical objects.",
"energy": 10,
"sleep": 0,
"must_use": false,
"link": "https://wiki.secondlife.com/wiki/LlSetAngularVelocity",
"private": false,
"takesSelf": false,
"name": "SetAngularVelocity",
"signatures": [
{
"def": "signature",
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
{
"def": "simple",
"value": "()"
}
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "AngVel",
"desc": "The angular velocity to set the object to.",
"type": [
{
"def": "simple",
"value": "vector"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Local",
"desc": "If TRUE, the AngVel is treated as a local directional vector instead of a regional directional vector.",
"type": [
{
"def": "simple",
"value": "number"
}
],
"variadic": false,
"optional": false
}
]
}
]
}