Strange Collision Issue
FallacyStudios
Member Posts: 970
So the game I'm working on is a platformer. I'm getting an odd collision issue just by walking along the ground. He will just be walking across the floor and stop. He can't move and many times I either have to turn around and back or jump. Sometimes 1 or both of those is needed to get past the collision.
Currently the floor and the character are both Collidable to eachother. I've looked in all the floor actors (because there are a few of them lined up to form the ground) and all of them show as being the same size and are placed on the same Y so getting a collision from the corner of the next floor ahead doesn't make sense atleast from what I am seeing. Any suggestions?
Currently the floor and the character are both Collidable to eachother. I've looked in all the floor actors (because there are a few of them lined up to form the ground) and all of them show as being the same size and are placed on the same Y so getting a collision from the corner of the next floor ahead doesn't make sense atleast from what I am seeing. Any suggestions?
Comments
Double check the Y positions on the images, all it takes is 1 pixel, even if the Y positions are the same, sometimes there can be abnormal placing. And just for a test, go ahead and lower the next floor actor where the actor is getting stuck to see if it keeps moving on.
And you could always use a constrain attribute on the actor when it is moving to force it to keep going. But when it gets to a split, if one actor is a little higher, it will jump a little, like on a ramp.
Yea I've gone through and checked them all and they all show the same height and y placement. Odd thing is the collision doesn't happen in the exact same locations every time.
Hmm how would you place that in?
Hope this helps.
Darren.