-
Notifications
You must be signed in to change notification settings - Fork 0
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 and Collision detection #3
Comments
for the physics and collision detection I used "Rapier" a physics engine to handle it for me, I just have to tell the engine what entities I want to be effected by physics. However I'm having a bit of an issue, I searched for how it works in the unity game engine, so I could maybe get a sense of how rigid bodies work, but I couldn't find a solution to my problem yet |
How are you adding velocity to your player character? |
Hey, sorry for not replying!, I never got any comments on my issues before, so didn't expect to get one! however, I got it working by adding the velocity by getting the delta of x and y then add it to a Vec2 and then making that equal the linear velocity for the player
if you have a better solution in mind please don't hesitate to teach me! also thanks for replying to my issue! |
The text was updated successfully, but these errors were encountered: