How to make a 2d platform controller like salt and sanctuary did
Here is the link : Salt and sanctuary
I use raycast to detect walls , grounds and slopes. It works well if the terrain is solid.
But in my game , there will be a lot of virtual terrains.The virtual terrain means you can go through when your y axis speed is posive.And if you are on this terrain, press some button will let you drop down from it.
If the slope is a virtual terrain, you can also climb or descend like on a solid terrain.
I find Salt and sanctuary's platform controller is just what I want .
So,any help to make the virtual terrain or the ladder?
Just a basic google search: https://www.youtube.com/watch?v=$$anonymous$$BSHz-ee8Sk
Your answer

Follow this Question
Related Questions
Corgi Engine - Character glitches with "jump" animation on top of a ladder 0 Answers
Same script on two objects, only first one works 1 Answer
How to make a wall which will be gone after player enter some number ? 0 Answers
Using AddForce for horizontal movement doesn't quite work the way I want it to (2D) 1 Answer