- Home /
Question by
iwannaurbrain · May 16, 2018 at 04:56 PM ·
movementmesh
How can I achieve smooth movement on sinusoidal surface?
How can I achieve smooth movement on sinusoidal surface? I created a procedural mesh, which is a path for my character. Mesh vertices change on y coordinate in coroutine in sinusoidal way. Now I want to place a character on this surface and move it along the x coordinate and allow it to jump. It's going to be an ios platformer. I haven't used Unity for a long time and forgot about many things. I tried to give my character (blender mesh) rigidbody and then change its velocity or addforce, but it changes the speed of my character depending on the slope of my path. How can I give my character constant speed and don't worry about the shape of path?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612162808im_/https://answers.unity.com/themes/thub/images/avi.jpg)