Skip to content

implement setContactResponse(boolean) for PhysicsCharacter (issue #964) - #971

Merged
stephengold merged 1 commit into
jMonkeyEngine:masterfrom
stephengold:master
Dec 12, 2018
Merged

implement setContactResponse(boolean) for PhysicsCharacter (issue #964)#971
stephengold merged 1 commit into
jMonkeyEngine:masterfrom
stephengold:master

Conversation

@stephengold

Copy link
Copy Markdown
Member

This deals with the 2nd half of the issue. Once this is integrated and tested, we should close the issue.

@empirephoenix

Copy link
Copy Markdown
Contributor

Is private boolean contactResponseState = true; actually required for the bullet version? couldn't this just be read from the native classes instead? This looks like a duplicated state to me.

@stephengold

Copy link
Copy Markdown
Member Author

I thought there was a reason to keep a copy of the state, but on closer inspection, there isn't one. I'll remove it. I'll also remove the corresponding state in PhysicsRigidBody.

Good catch!

@stephengold
stephengold merged commit d8acd30 into jMonkeyEngine:master Dec 12, 2018
@stephengold stephengold added this to the v3.3.0 milestone Dec 20, 2018
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.

2 participants