Keep enemy moving upon collision with main player

butterbeanbutterbean Member Posts: 4,315
edited November -1 in Working with GS (Mac)
I'm working on cleaning up some things on a platformer game I'm working on.

I have the enemy and player as collidable because it was the only way I could get her stomping mechanism to work properly.

When she collides with the enemy however, the enemy moves back, and I would prefer the enemy to keep moving forward without her affecting their velocity.

If anyone is working on a platformer, how can this be fixed?

I've tried constraining the enemies self.motionlinearvelocity and that didn't work...

Any ideas?

Comments

  • butterbeanbutterbean Member Posts: 4,315
    The best I could do is change the density of the player, but with one of my pacing actors, it still gets moved upon player collision... can't be perfected, but I'll keep playing around with the physics options... :)
Sign In or Register to comment.