Skip to content

Commit

Permalink
PhysicsSpace: add caveats to javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Nov 18, 2023
1 parent af97731 commit 4a45e22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/com/jme3/bullet/PhysicsSpace.java
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,8 @@ public void setMaxTimeStep(float maxTimeStep) {

/**
* Update this space. Can be used to single-step the physics simulation, if
* maxSubSteps is set to 0 or 1.
* maxSubSteps is set to 0 or 1. This method should be invoked from the
* thread that created the space.
*
* @see #setMaxSubSteps(int)
* @param timeInterval the time interval to simulate (in seconds, ≥0)
Expand All @@ -812,7 +813,8 @@ public void update(float timeInterval) {
}

/**
* Update this space.
* Update this space. This method should be invoked from the thread that
* created the space.
*
* @param timeInterval the time interval to simulate (in seconds, ≥0)
* @param maxSteps the maximum number of steps of size {@code accuracy}
Expand Down

0 comments on commit 4a45e22

Please sign in to comment.