I'm making a game and one thing drives me crazy. I have recorded a short video of what is happening:
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?
Here's the place to get help and discuss features. The focus is on the C++ version, but generic questions are welcome.
1 post • Page 1 of 1
Who is online
Users browsing this forum: Baidu [Spider] and 2 guests