Page MenuHomeFeedback Tracker

[Feature Request] Scripting Command: setAngularVelocity
Closed, ResolvedPublic

Description

There's currently no universal way to give objects an angular velocity. There is addTorque, but it only works on PhysX objects.
So you have to do a loop every frame and rotate the object manually.

Having such command would be very useful for having true 6 DoF motion using scripts.

syntax:

obj setAngularVelocity [wx, wy, wz];

the units are rad/s

and a getter command:

angularVelocity object

I think it makes the most sense if the reference coordinate was the model itself. But you can make world and model variants if you think it's better.

Details

Severity
Feature
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Scripting

Event Timeline

Leopard20 updated the task description. (Show Details)
Leopard20 updated the task description. (Show Details)Aug 19 2021, 3:49 PM
Leopard20 claimed this task.Sep 7 2023, 7:06 PM
Leopard20 set Ref Ticket to AIII-55987.
Leopard20 changed the task status from New to Feedback.Sep 15 2023, 1:55 PM

Revision: 151018

Leopard20 closed this task as Resolved.Jan 13 2024, 9:47 PM
Leopard20 removed Leopard20 as the assignee of this task.