Solution for character getting stuck on slope corners?

Here's the place to get help and discuss features. The focus is on the C++ version, but generic questions are welcome.
zgintasz
Posts: 1
Joined: Fri Feb 12, 2016 3:56 pm

Solution for character getting stuck on slope corners?

Postby zgintasz » Fri Feb 12, 2016 4:07 pm

Hi!
I'm making a game and one thing drives me crazy. I have recorded a short video of what is happening:
https://vid.me/n1XT
as you can see, character sometimes gets stuck while going up the slope. I'm using setLinearVelocity and a straight vector, (-1; 0) for left and (1; 0) for right. Because otherwise, if I use angled velocity, it results in character jumping at the top of the slope. But for down the slope movement, I use angled velocity, works quite well.
What should I do?

Return to “General Discussion”



Who is online

Users browsing this forum: No registered users and 3 guests