Skip to content

[Feat] Player Input Handling and Sphere Control Implementation#123

Open
lemonTree077 wants to merge 1 commit intoYao-class-cpp-studio:mainfrom
lemonTree077:main
Open

[Feat] Player Input Handling and Sphere Control Implementation#123
lemonTree077 wants to merge 1 commit intoYao-class-cpp-studio:mainfrom
lemonTree077:main

Conversation

@lemonTree077
Copy link
Copy Markdown

@lemonTree077 lemonTree077 commented Jan 21, 2024

This PR implements the handling of player input to control the movement and braking of regular ball units.

Changes include:

  • Implemented mapping from key input to player-directed ball movement.
  • Added braking functionality on space bar press, stopping all angular motion.
  • Included necessary force and direction calculations for velocity and rotation.

Close #4

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.

[New Feature] Control logic for regular ball unit.

1 participant