ll.SetVelocity (Velocity: vector, Local: number) -> ()If the object is physics-enabled, sets the object's linear velocity to Velocity. If Local==TRUE, Velocity is treated as a local directional vector; otherwise, Velocity is treated as a global directional vector.
ll.SetVelocity(vector(1,1,1), 3.14)
{
"def": "func",
"desc": "If the object is physics-enabled, sets the object's linear velocity to Velocity.\nIf Local==TRUE, Velocity is treated as a local directional vector; otherwise, Velocity is treated as a global directional vector.",
"energy": 10,
"sleep": 0,
"must_use": false,
"link": "https://wiki.secondlife.com/wiki/LlSetVelocity",
"private": false,
"takesSelf": false,
"name": "SetVelocity",
"signatures": [
{
"def": "signature",
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
{
"def": "simple",
"value": "()"
}
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "Velocity",
"desc": "The velocity to apply.",
"type": [
{
"def": "simple",
"value": "vector"
}
],
"variadic": false,
"optional": false
},
{
"def": "arg",
"name": "Local",
"desc": "If TRUE, the Velocity is treated as a local directional vector instead of a regional directional vector.",
"type": [
{
"def": "simple",
"value": "number"
}
],
"variadic": false,
"optional": false
}
]
}
]
}