GUIDES

physics – How do you setup a ramp with an existing tile-set in Unity?

(Beginner questions)
How do you setup the ramp with the tiles in unity?
The graphics and the behavior?

I’ve been checking this free tileset:

enter image description here

In the image it has connected ramps

I cannot seem to get that both visually and programatically.
enter image description here

So from a visual perspective, the offset is completely wrong and the tiles don’t connect.

From a gameplay programmatic perspective how do you give it the property of a ramp in Unity?

What are the best practices for this? It seems like something that would be straight forward and probably is.

The game doesn’t use physics and ideally I would like to avoid that but we wanna give the illusion of going down and up the ramp. If using physics is the most generic solution/best-practice, that would be fine.

Here are the tiles:

enter image description here

Sadly, that is how it looks in Unity. On a side-note, aligning that to the actual tile-set would be useful too.
enter image description here

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button