Hello! I’m making a platformer game! But, the only major thing I need help with, is collisions. I don’t know how to make an object not be able to go through another. I need help
When bumps object:
Set horizontal volcoty to 0?
I’m not very good with physics…
I’ll try that! Thanks.
That will bring it to an immediate stop, not bounce off the object
Yes. That will help with it.
@AlwaysMakingStuff you could always look at others collision code. I would recommend looking at Spy guy’s loop platformer’s code.
Alright. Will do.
Yup! (Sry I couldn’t really help, I’m bad at platformer collisions as well…)
Here is a project I made with collisions and background scroll
For a normal, non-scrolling game, just give the platforms the collisions code and give the character the movement code (notice that the moment code in the platforms is inverted)…
I meant movement.
I’d’ve joined if I were good at physics lol, sorry
(Tag me for big updates please)
But make sure to give credit
Yes. HUGE credits because I had no idea what I was doing : /
Does that mean that you solved the issue? Or - are you more doing like a collab like the topic hints, and want the topic to stay open for updates related to the game?
Just checking in to know if this topic should be closed or not!
Yes, you may close this topic! I have an idea of what I’m doing, and I’m setting it up.
Just let us know if you need any more help then, or if you wish me to reopen this! There is always someone around here that can help you. Best of luck with your project!