File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/main/java/com/github/stephengold/joltjni Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,15 @@ public class Body extends NonCopyable implements ConstBody {
4545
4646 /**
4747 * Instantiate with the specified container and native object.
48+ * <p>
49+ * For use in custom contact listeners.
4850 *
49- * @param container the containing object, or {@code null} if none
51+ * @param container the containing {@code PhysicsSystem} or
52+ * {@code BodyManager}
5053 * @param bodyVa the virtual address of the native object to assign (not
5154 * zero)
5255 */
53- Body (JoltPhysicsObject container , long bodyVa ) {
56+ public Body (JoltPhysicsObject container , long bodyVa ) {
5457 super (container , bodyVa );
5558 assert container instanceof PhysicsSystem
5659 || container instanceof BodyManager ;
You can’t perform that action at this time.
0 commit comments