Skip to content

Conversation

@ThierryBerger
Copy link
Contributor

@ThierryBerger ThierryBerger commented Jul 30, 2024

It's currently difficult to assess if character controller ground detection works correctly, this adds a visual helper (the capsule turns red when not grounded) to detect it more quickly in the examples.

character_controller_color.mp4
ground detection analysis

when calling colliders_with_aabb_intersecting_aabb from within detect_grounded_status_and_apply_friction
, it sometimes doesn't get any manifests, resulting in grounded = false.

@ThierryBerger ThierryBerger requested a review from sebcrozet July 30, 2024 15:57
Copy link
Member

@sebcrozet sebcrozet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, thanks!

@ThierryBerger ThierryBerger merged commit 364b5b7 into dimforge:master Aug 2, 2024
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