godotengine / godotengine/godot-docs

RigidBody's add_torque explanation is ambiguous

Open
#5,349 1 comment 0 reactions 0 assignees View on GitHub
area:class reference enhancement topic:physics
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

3.3.4

After reading RigidBody add_torque's documentation I was at loss how to use this function. It should include information of what direction the torque is added.
Current:

> Adds a constant rotational force (i.e. a motor) without affecting position.

Suggestion:

> Adds a constant rotational force without affecting position. The rotation is clockwise around the torque vector passed.
> Uses the rotation of the global coordinate system.

https://docs.godotengine.org/en/stable/classes/class_rigidbody.html#class-rigidbody-method-add-torque

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.