AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Bounce when touch collision unity8/18/2023 ![]() In real life there are various techniques to keep something stuck to the ground. Scene geometry should be designed to avoid that, but I kept it in to point it out. That produces what's known as a ghost collision. ![]() In the test scene this even happens a little for the flat lane, because I made it by reducing the step height to zero without merging the vertices. When approaching with enough velocity a sphere will bounce if the step isn't too high. I made a test scene that demonstrates this for steps up to one unit high, with 0.1 increments. Spheres go flying at top of ramp.Ī similar thing happens when spheres bump into sudden small elevation differences. This is realistic, but might not be desirable. When our sphere reaches the top of a ramp it goes flying, due to its upward momentum. This tutorial is made with Unity 2019.2.14f1. It's about refining how a sphere interacts with surfaces. This is the third installment of a tutorial series about controlling the movement of a character. Configure multiple layers and their interaction. ![]() Stick to the ground instead of launching off a ramp.
0 Comments
Read More
Leave a Reply. |