Skip to content

FPS Character example#476

Merged
ThierryBerger merged 8 commits intodimforge:masterfrom
ManevilleF:feat/fps_character_example
Jun 17, 2024
Merged

FPS Character example#476
ThierryBerger merged 8 commits intodimforge:masterfrom
ManevilleF:feat/fps_character_example

Conversation

@ManevilleF
Copy link
Copy Markdown
Contributor

I noticed that there is no example for the KinematicCharacterController so I added a FPS character controller example using it.

The example is straightforward imo:

  • Mouse look for the rotation
  • WASD, shift, space for moving around
  • Ground tolerance timer

@Sirmadeira
Copy link
Copy Markdown

Sirmadeira commented Apr 11, 2024

Although this is not merged, this is the bomb specially the look to function, really usefull @sebcrozet. Please accept this. I promise you I will maintain it

Copy link
Copy Markdown
Contributor

@ThierryBerger ThierryBerger left a comment

Choose a reason for hiding this comment

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

Looks very good, thanks!

@ThierryBerger ThierryBerger added D-Medium P-High arbitrary important item A-Integration very bevy specific C-Enhancement New feature or request labels May 20, 2024
@ThierryBerger
Copy link
Copy Markdown
Contributor

I want to merge that, I only have a small annoyance with it: I can jump slightly higher when colliding with walls, suggesting a bug with ground detection.

I opened dimforge/rapier#655 for an attempt to fix it.

@ThierryBerger ThierryBerger merged commit f850272 into dimforge:master Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Integration very bevy specific C-Enhancement New feature or request D-Medium P-High arbitrary important item

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants