Onlyreon
tarodev from patreon
tarodev patreon

2D Controller using standard Unity Physics

🕑 Added 2022-01-28 13:44:40 +0000 UTC

Comments

(Tarodev) Matthew Spencer

When you directly use my prefab without adjusting anything, does the jump height remain dynamic or is it always the same? Continuous is a good move. Also decreasing the fixed timestep in the project settings - time menu

(Tarodev) Matthew Spencer

This would be caused by the way I stop continued horizontal velocity when a wall is detected. This can be easily fixed, but I'd need to think of another way to avoid velocity build up. I'm on my phone right now, but it's in the walking section if I'm not mistaken.

Henrique Machuca

Hello everyone! I'm giving the controller a try for the first time and I would like to ask you more experienced folks. - One thing I noticed is that sometimes the collision fails and the player goes through the ground. I haven't adjusted the variables yet, so the character is a bit faster for my level size, but having that said I changed the 'Collision Detection' of the player rigidbody to Continuous instead of Discrete. Is that something worth doing? - Another thing is that I noticed that my player jumps the same height no matter whether I tap the jump key or hold it. Is there something I may be missing? Thank you

Dominic

Thanks for this controller, it is really great. The only issue I have is that when I try to push a block, I have to run into it repeatedly instead of the player just pushing it with a constant force. The block is already 0.0001 in mass so I can't make it any lighter. Do you have any tips that might help me with this? Thanks!


More Creators