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

Update WASM to CL565275 #11

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Update WASM to CL565275 #11

merged 1 commit into from
Nov 14, 2023

Conversation

eoineoineoin
Copy link
Member

Adds a couple of additional physics queries; useful for various scene-understanding use-cases (e.g. character controllers, vehicles, game logic) and fixes some bugs we found along the way:

  • Add interface to perform "closest point to position" query
  • Add interface to perform "closest point to shape" query
  • Add interface to perform a "shape cast" query
  • Add additional filtering options to "ray cast" query
  • Rename spring motors for clarity
  • Fix bug where a contact event could be raised between a kinematic-static or kinematic-kinematic pair
  • Fix bug where changing constraint parameters would not activate sleeping bodies
  • Fix bug where triangle indices weren't reported for meshes inside a container shape
  • Re-enable a small amount of angular damping per-body by default

This does change the raycast API, though, so we'll need to make a Babylon.JS update. Looking to get feedback on the query interfaces. Demo playground attached.

queryDemo.txt

@RaananW RaananW merged commit 5350a15 into main Nov 14, 2023
1 check passed
@RaananW RaananW deleted the eoin/20231113_update branch November 14, 2023 10:19
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.

3 participants