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

FPS Character example #476

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ManevilleF
Copy link

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

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
Contributor

@Vrixyz Vrixyz 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!

}),
// Don’t allow climbing slopes larger than 45 degrees.
max_slope_climb_angle: 45.0_f32.to_radians(),
// Automatically slide down on slopes smaller than 30 degrees.
Copy link
Contributor

Choose a reason for hiding this comment

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

larger than 30 degrees right ?

Suggested change
// Automatically slide down on slopes smaller than 30 degrees.
// Automatically slide down on slopes larger than 30 degrees.

@Vrixyz Vrixyz added D-Medium P-High arbitrary important item A-Integration very bevy specific enhancement New feature or request labels May 20, 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 D-Medium enhancement New feature or request P-High arbitrary important item
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants