Skip to content

Conversation

kutal10
Copy link
Contributor

@kutal10 kutal10 commented May 17, 2025

PR Details

The ContactPoint object should store additional lateral impulse data. This is useful in certain scenarios:

  • If you want to adjust physical interaction feedback (e.g. when hit by a bullet or a punch)
  • If you want audio to be dependent on the normal forces (e.g. play louder sounds on a harder impact)
  • If you want to debug the runtime bounce between objects (e.g. an object is bouncing too heavily)

By updating it, we enabled BulletSharps' data to be propagated and stored in this object.

Related Issue

#2490

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

@kutal10
Copy link
Contributor Author

kutal10 commented May 17, 2025

@dotnet-policy-service agree

@Eideren Eideren merged commit 01bb8db into stride3d:master May 24, 2025
3 checks passed
@Eideren
Copy link
Collaborator

Eideren commented May 24, 2025

Thanks !

@Eideren Eideren changed the title feat: adds on impulses to contact point feat: Bullet Physics, adds on impulses to contact point May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants