Categories
Game Creation Mastering Development

Physics2D.IgnoreCollision not work when rb not moving

I want to use Physics2D.IgnoreCollision for ignoring collision between enemy and player, when player have shield. But I have enemy who some time is static and some time jump only on y axis. When enemy not moving Physics2D.IgnoreCollision not work and physics collision between player and enemy occur even Physics2D.IgnoreCollision is called. When i add […]