- Home /
2D tiles that follow an Earth-like curvature ?
Hello everyone
Earlier today, i've found this video on the internet : https://www.youtube.com/watch?v=_izWfl-jZZs We can see that the player can walk around a circular 2D planet with platform that follow the curvature of the level.
I already have the walking/jumping system. But I can't find how I can do these type of plateform. If someone have an idea of how to do it, what type of Math or assets I need. It would be great !
Thank you very much for your time. Have a nice day !
Answer by Tryall · Mar 28, 2018 at 01:16 PM
Ok so I made more research.
I think I can do that with a LineRenderer. I can generate a certain number of point around a circle. This can generate me a nice textured curve. And then I can use the same process to add a polygonCollider2D around this LineRenderer.
I'm still working on this. But I will post some code here if I managed to do that.
Your answer
Follow this Question
Related Questions
How To Make My 2D Character Jump Gradually 2 Answers
Player projectile not linked to instance of object 0 Answers
[2D] Sprite flickers/is choppy when moving 1 Answer
Rigid Body Movement (Mobile Issue) 3 Answers
Getting 2D projectiles that fire in the direction of the mouse position to work in unity 5? 0 Answers