8way control bumping solids changes angle

Bugs will be moved here once resolved.

Post » Wed Feb 08, 2012 1:39 am

Not sure if this is a bug or if it's just me. I have an 8way behavior, and when the player hits a wall(solid) it always changes the players angle to 0 degrees. Example holding up arrow walking up, stopped by a wall, and the player is snapped to face to the right. Same happens walking down, almost the same walking left(you can see it try and flip, but with the left arrow key down it snaps back to left right away), and walking to the right doesn't change angle on contact.
B
8
S
3
G
2
Posts: 107
Reputation: 2,219

Post » Wed Feb 08, 2012 3:56 pm

http://kroma.biz/c2/

Here is a link to an example .capx
B
8
S
3
G
2
Posts: 107
Reputation: 2,219

Post » Fri Feb 10, 2012 4:38 pm

Fixed for next build, but the angles will still not work properly unless you use a perfectly symmetrical collision mask. Try using a bounding box collision mask in the next build.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,518

Post » Fri Feb 10, 2012 5:03 pm

Bounding box has different problems(worse)on a player. The player will get stuck facing the solid. Example: when you hit a wall going up and then walk to the side the player will stay facing up. We really need a circle collision option for players.
B
8
S
3
G
2
Posts: 107
Reputation: 2,219


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests