Skip to content

fixed CharacterContactListener to include full upstream API #15

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

a-day-old-bagel
Copy link
Member

@a-day-old-bagel a-day-old-bagel commented Aug 12, 2025

During some of the updates of the last few months, the CharacterContactListener struct in JoltPhysicsC.h was not updated to reflect the upstream changes. The mismatch would cause crashes if this type of listener was used.

It should be fixed now, but I do wonder if there aren't more places like this in zphysics which have been a bit left behind. The tests didn't catch this one because the mismatch is between JoltPhysicsC and Jolt proper, but not between zphysics and JoltPhysicsC, and this structure appears to be missing from JoltPhysicsC_Tests.c (probably should fix that too...).

…sts for FixedConstraintSettings, tweaked casts for TwoBodyConstraintSettings to match ShapeSettings pattern.
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.

1 participant