jMonkeyEngine / jMonkeyEngine/jmonkeyengine
Physics Debug Shape Update on CompoundCollisionShape
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.3k
- Forks
- 1.2k
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 14
Description
There seems to be an issue with updating the physics debug shapes of CompoundCollisionShape.
I tried to remove a child shape of a CompoundCollisionShape at runtime. The child shape is correctly removed but the debug shape is still visible.
Please see the attached example code to reproduce the issue. You can remove the child shape with the DEL key and test the collision with the INSERT key.
Main.zip
This was tested with v3.2.4-stable-sdk1.
Updates: jMonkeyEngine SDK is updated to version NetBeans 8.2 Patch 2
Java: 1.8.0_212; OpenJDK 64-Bit Server VM 25.212-b04
Runtime: OpenJDK Runtime Environment 1.8.0_212-b04
System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (jmonkeyplatform)
This might be related to:
https://hub.jmonkeyengine.org/t/physics-debug-shape-doesnt-update/25455
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attached Main.zip example and reproduce the issue by removing the child shape with DEL and testing collision with INSERT. Trace the CompoundCollisionShape physics debug-shape update path, using the linked forum report for context. Done means the removed child no longer appears in the debug visualization while collision behavior remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100