where is the problem here ?

IceboxIcebox Member Posts: 1,485

Platformer game , I want my character to collide with a wall from one side only , so left collide , right without collision , this is what i did but it doesnt work for some reason

I constrained my position x to game.playerX

Made a rule in the wall actor , if overlaps or collides with hero and gameplayerx is > self.position.x + (self.size.Height/2)
do nothing , otherwise collide

now when i try it , i need to keep going back and forth and jump and hit the wall two to three times until it works , am i doing something wrong ?

Comments

Sign In or Register to comment.