Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix issue #901 (collision margins initialized to 0) #1053

Merged
merged 2 commits into from Mar 23, 2019
Merged

fix issue #901 (collision margins initialized to 0) #1053

merged 2 commits into from Mar 23, 2019

Conversation

stephengold
Copy link
Member

This adds a new public static method to set the default collision margin.

I'm unsure whether jme3-jbullet has any issue with 0 collision margin. To maintain consistency between libraries I modified both jme3-bullet and jme3-jbullet.

I ran all the physics tests in jme3-examples with both physics libraries and didn't notice any changes, except that TestCcd now works with jme3-bullet. Refer to issue #1043 for details.

@stephengold
Copy link
Member Author

I just realized the default collision margin needs a getter too. One moment...

@stephengold stephengold merged commit 1ad324a into jMonkeyEngine:master Mar 23, 2019
@stephengold stephengold added this to the v3.3.0 milestone Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant