Hello again,
going on with my 2d jump’n’run i’ve just encountered some weird stuff …
i’ve built up my level segments of cubes, with a scaling value of ‘1 1 1’.
So, i buildet a way of them, where each cube has a distance of 1 to its neighbour.
But when my hero (actually, it’s a chicken) runs over them, it makes little ‘jumps’ when it runs over the borders of these segments when it runs fast.
If it runs slower, then these borders slows it down.
Its the same thing you would experience if you would drive over little stones with your car which are lying on it.
I’m not sure why that can be. My bricks are placed perfectly, because i used the snap settings in the editor, and configured it to a distance of 1.
My hero’s size is a bit smaller than these standard cubes.
I tried different sizes with different results,
but its a strange thing.
What could i do.
And, how big should my gameobjects be.
The manual statet that it would be good if things had realistic sizes … but how many meters are 1 unit in the editor settings.
If its also a meter, then my chicken is about a half meter, which should be ok.
Edit:
Actually, i stopped moving my object by adding force, but by adding to it’s velocity.x directly … less sloping, but it’s not perfect, yet.