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.
Smooth downward slope movement
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Smooth downward slope movement
- Attachments
-
- collisions_p.love
- (7.59 KiB) Downloaded 148 times
Re: Smooth downward slope movement
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:
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}
}
Who is online
Users browsing this forum: Bing [Bot], miras and 3 guests