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

Bug/Wrong Behavior: Turning Player #17

Closed
CarrotKutay opened this issue May 30, 2020 · 0 comments
Closed

Bug/Wrong Behavior: Turning Player #17

CarrotKutay opened this issue May 30, 2020 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@CarrotKutay
Copy link
Owner

Turning the player towards input

There seems to be an issue with turning the payer correctly:
see #11 #10

Problem

The player is turning only in the direction the input is pointing. What is desired however, is a turn towards the direction the input is pointing in relation to the position of the player itself

Solution

It might be that currently to turn the player we are setting the forward vector to the turn-input directly. What might solve the issue is to get a directional vector from the player to the turn-input received and set the forward vector accordingly.

@CarrotKutay CarrotKutay added bug Something isn't working enhancement New feature or request labels May 30, 2020
@CarrotKutay CarrotKutay self-assigned this May 30, 2020
CarrotKutay pushed a commit that referenced this issue Jun 3, 2020
#17
+ fixing turning behavior to work as intended
+ overhaul to InputSystem to update look direction constantly, not only on change
CarrotKutay added a commit that referenced this issue Jun 3, 2020
PR for #17 : fixing Player Turning behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant