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 990e966 commit 74d7ff9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions MinieLibrary/src/main/java/com/jme3/bullet/PhysicsSpace.java
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,8 @@ public void setSolverNumIterations(int numIterations) {

/**
* 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 @@ -952,7 +953,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 74d7ff9

Please sign in to comment.