Skip to content

Enhancement: Allow adjusting phys_torque entity's axis of rotation at runtime. #1589

@Rip-Rip-Rip

Description

@Rip-Rip-Rip

What would this enhancement be for?

Entity

Describe your enhancement suggestion in more detail

What it says on the tin really.

My suggestion is that there should be an input on phys_torque to allow adjusting it's axis kv at runtime, as from my testing this currently isn't possible (at least, through AddOutput or directly updating the KV through vscript's __KeyValueFromString method).

The input should probably be called SetRotationAxis.

This would allow for more flexibilty with applying rotational forces to physics objects through vscript, without directly implementing a method to apply forces to physics objects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementThis is something that improves upon an already existing thing.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions