Okay, someone please explain this one to me...because I'm one confused puppy.
I'm trying to set up a platform game using the Physics behavior to move the character around. I've created two instances of a long, flat surface, and they both rest on the same Y-axis value, maybe overlapping by a couple of pixels at their ends. Pending refinement to the movement mechanics, the character object is moving just fine.
It's properties are set to:
- Immoveable: No
- Uses collision polygon
- Prevent rotation: Yes
- Density = 1
- Friction = 0.5
- Elasticity = 0
- Linear damping = 0.6
- Angular damping = 0
- Bullet: No
For the platform:
- Immovable: Yes
- Uses collision polygon
- Prevent rotation: Yes
- Density: 1
- Friction: 0.75
- Elasticity: 0
- Linear damping: 0.6
- Angular damping: 0
- Bullet: No
When moving left or right, I use the event Apply physics force +/- 20 at image point 0, with the image point being right in the middle of the sprite object.
That's all the relevant stuff, I believe. So, with no rotations going on, the two instances of the platform being on the same Y-axis point, why is there a collision stopping my character from moving when it reaches the beginning edge of the second instance? It should be a continuous flat surface, right? But clearly it's catching on the corner/side of the second instance and unable to move forward.
Anyone have any input, please? Thank you!