How do I get a character to walk on walls and ceilings?
I am making a 2D game and I want a character to follow the surface of the platform they are on even if that means walking on the wall or the ceiling. Basically a Zoomer from NES Metroid
Figured this out. If anyone else is interested let me know and I'll post my solution.
If you answer your own question, you should post your own solution and mark it as solved. :)
I am trying to make this same enemy! How did you solve it?
I am trying to make this same enemy! How did you solve it?
Hello @Rynbernsz
If what you want to say is not an answer, dont post it as anser, post is as a comment, because people will not enter the post becuase they see there is already an answer...
Bye
I would like to learn how to do this as well... Please share
Hello @UnityinTraining
If what you want to say is not an answer, dont post it as anser, post is as a comment, because people will not enter the post becuase they see there is already an answer...
Bye
Answer by tormentoarmagedoom · Jun 06, 2019 at 10:35 AM
Hello.
Its simple, you only need to check its collider as "trigger or simply remove the collider component.
So the wall will be rendered there, but for collissions its like that wall doesnt exist, so all other colliders can pass through it.
Ps: This is a very basic issue, you should watch some tutorial about colliders to learn how to use them and what they can do.
Bye!
Your answer
Follow this Question
Related Questions
Object Player Movement stops working after Restarting Unity 0 Answers
How to move a cube by flipping using keyboard input 1 Answer
Top Down Character - Face direction of movement? 0 Answers
How to move 3 players at the same time in V form,How to move 3 characters in the same time in V form 0 Answers
How to make an object not move through an wall using transform.translate? 3 Answers