CharacterVirtual controller is flying upwards very fast #1251
Replies: 1 comment
-
I fixed it, it was an issue on how I was handling input. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a video of what happens, the character flies immediately after the physics system is enabled (by adding PhysicsSystem::Update and CharacterVirtual::Update to the game loop). https://github.com/user-attachments/assets/f323c240-525c-4017-825a-06e803c25faa
The camera is locked to the CharacterVirtual.
I know that the physics simulation is working correctly because there is a bouncy sphere that is simulating correctly.
Relevant code below
In the above code snippet, when I log new_velocity this happens
I am confused about why this happens because my code looks identical to the CharacterVirtual sample.
Beta Was this translation helpful? Give feedback.
All reactions