Skip to content

Commit aefe5b0

Browse files
committed
Document gravity units
1 parent bb150be commit aefe5b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

newton/_src/sim/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1967,7 +1967,7 @@ def set_gravity(
19671967
Set gravity for runtime modification.
19681968
19691969
Args:
1970-
gravity: Gravity vector with shape ``(3,)``, a local-world array with shape
1970+
gravity: Gravity vector [m/s²] with shape ``(3,)``, a local-world array with shape
19711971
``(world_count, 3)``, or a local-and-global array with shape
19721972
``(world_count + 1, 3)``. A single vector updates every local world and
19731973
the global world. A local-world array preserves the global gravity.

0 commit comments

Comments
 (0)