Page 1 of 1

Smooth downward slope movement

Posted: Fri Oct 12, 2018 1:04 pm
by M3G0
Hello again,

I have managed to fix the previous problem and right now working on fixing a new one.

The problem is that when descending the slope, the object descends smoothly on the right to left slopes (<--) however on the left to right (-->) slopes, sometimes, if you look carefully the object bobs down then up when transitioning from solid to slope. And in some rare occasions, the object would simply move past the right wall. How do I make the descent of --> as smooth as the descent of <--?

This time I'll give the file, hope it helps.

Re: Smooth downward slope movement

Posted: Fri Oct 12, 2018 1:33 pm
by pgimeno
I can't appreciate any difference between the left slope and the right slope.

To be sure the right wall wasn't interfering, I've made the map a bit larger:

Code: Select all

mapdata = {
        {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
        {1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1},
        {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
        {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
        {1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1},
        {1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1},
        {1,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,1},
        {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1},
        {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}
}