Hi,
My character has some colliders that I don’t want to affect the enemies if he is rotating and not moving. The reason I want to do that is to prevent the enemies from flying due to high speed rotation of the character. So what I did was disable those colliders unless the character is moving.
But when the colliders are disabled during character rotate the enemy can enter within the collider boundary within this time then when the character starts moving and the colliders are re-enabled while the enemies are within the collider they understandably fly with very high speed.
Is there a better solution?
Thanks for advance.