Skip to content

Commit 59a010e

Browse files
committed
doc: mention kienmatic_velocity_based as a RigidBodyBuilder constructor
1 parent a758db4 commit 59a010e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dynamics/rigid_body.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,8 @@ impl RigidBody {
14341434
///
14351435
/// This builder lets you configure all properties of a rigid body before adding it to your world.
14361436
/// Start with one of the type constructors ([`dynamic()`](Self::dynamic), [`fixed()`](Self::fixed),
1437-
/// or [`kinematic_velocity_based()`](Self::kinematic_velocity_based)), then chain property setters,
1437+
/// [`kinematic_position_based()`](Self::kinematic_position_based), or
1438+
/// [`kinematic_velocity_based()`](Self::kinematic_velocity_based)), then chain property setters,
14381439
/// and finally call [`build()`](Self::build).
14391440
///
14401441
/// # Example

0 commit comments

Comments
 (0)