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

When updating pairs use current values from bodies as they may have changed #51

Merged
merged 1 commit into from
Dec 5, 2014

Conversation

jmfd
Copy link
Contributor

@jmfd jmfd commented Dec 4, 2014

In a dynamic system, a user might be changing properties of a body. Collision pairs need to use the updated values otherwise the collision will not be as expected.

liabru added a commit that referenced this pull request Dec 5, 2014
changed Pair.update to also update pair properties
@liabru liabru merged commit 7c1efb6 into liabru:master Dec 5, 2014
@liabru
Copy link
Owner

liabru commented Dec 5, 2014

Cheers Jonathan!

@jmfd
Copy link
Contributor Author

jmfd commented Dec 5, 2014

Thanks!

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