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

Expose collision point applied impulse. #3682

Merged
merged 2 commits into from Nov 9, 2021
Merged

Conversation

LeXXik
Copy link
Contributor

@LeXXik LeXXik commented Nov 9, 2021

Collision point applied impulse is a total impulse applied by Ammo's collision solver during the last internal substep. It basically describes how hard two objects collide by a single scalar value. It can be useful for spawning some special effects, based on how hard one object hits another.

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

Collision point impulse is an accumulated impulse applied by Ammo's collision solver during the last internal substep. It basically describes how hard two objects collide by a single scalar value. It can be useful for spawning some special effects, based on how hard one object hits another.
Fix comment

Co-authored-by: Will Eastcott <will@playcanvas.com>
@willeastcott willeastcott merged commit e339f23 into playcanvas:dev Nov 9, 2021
@willeastcott
Copy link
Contributor

Thanks a lot of this! Nice contribution. 🙏

@willeastcott willeastcott self-assigned this Nov 9, 2021
@willeastcott willeastcott added area: physics Physics related issue enhancement labels Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: physics Physics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants