- Home /
Question by
stingman · Jun 16, 2012 at 07:45 PM ·
collisioncharactercharactercontrolleroncontrollercolliderhit
Detecting collisions with OnControllerColliderHit when not moving
The title sums it up. My character is controlled with a character controller but often times I may be standing still and an enemy bumps into me and I don't take damage because I'm using OnControllerColliderHit to detect enemy collisions. I understand this function only works if the Character Controller is moving. Anyone have any suggestions or work arounds with using this function? I don't want to use a rigidbody or triggers for my character.
Comment
What are the enemies, CharacterControllers, Rigidbodies or simple colliders?