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

Physics Based Dragon Movement #70

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Physics Based Dragon Movement #70

wants to merge 3 commits into from

Conversation

mnmaita
Copy link
Owner

@mnmaita mnmaita commented Nov 16, 2023

Issue:

Closes #47

What was done:

  • Added physics based player movement. It uses impulses to go forward and turn, and forces to make the dragon strafe a bit. It also has a "cruise" mode that makes the player "soft lock" to their current direction and bumps up the velocity. It kicks in when the cursor is within a certain angle of the dragon facing direction.
  • Moved player movement code out of the input module.

@mnmaita mnmaita added the DRAFT label Nov 16, 2023
@mnmaita mnmaita force-pushed the dragon-movement branch 2 times, most recently from d77cc4b to 2cd5820 Compare November 17, 2023 02:41
@mnmaita mnmaita removed the DRAFT label Nov 17, 2023
@mnmaita mnmaita requested a review from cnmorales November 17, 2023 02:47
@mnmaita
Copy link
Owner Author

mnmaita commented Nov 17, 2023

Proximas iteraciones:

  • Considerar aplicar fuerzas o impulsos cuando el jugador cambia la direccion abruptamente para transicionar mas facilmente.
  • Considerar alterar alguna propiedad (centro de masa?) para hacer que el dragon gire menos sobre si mismo pero que vuele de forma mas curvilinea.
  • Probar a fondo y ajustar valores de fuerzas, impulsos, escalares, etc.

@mnmaita mnmaita removed the request for review from cnmorales November 18, 2023 03:10
@mnmaita mnmaita added the DRAFT label Dec 2, 2023
@mnmaita mnmaita marked this pull request as draft April 30, 2024 02:03
@mnmaita mnmaita removed the DRAFT label Apr 30, 2024
@mnmaita mnmaita force-pushed the dragon-movement branch from 4d63abc to fbdc836 Compare May 1, 2024 16:41
@mnmaita mnmaita requested a review from cnmorales May 1, 2024 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Physics Based Dragon Movement
1 participant