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)
{
"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,
"pure": false,
"link": "https://wiki.secondlife.com/wiki/LlSetVelocity",
"name": "SetVelocity",
"signatures": [
{
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
"()"
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "Velocity",
"desc": "The velocity to apply.",
"type": [
"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": [
"integer",
"number"
],
"variadic": false,
"optional": false
}
]
}
]
}