Search Unity

Question Bullet colliding with the player

Discussion in 'Physics' started by AnubisVaz, Apr 27, 2023.

  1. AnubisVaz

    AnubisVaz

    Joined:
    Feb 10, 2020
    Posts:
    5
    I'm creating an FPS and I tried to implement more realistic shots, everything was working fine until I noticed that the bullet seemed to be colliding with something invisible, after some tests I noticed that when I disabled the "Character Controller" of the Player the bullet stopped colliding with the invisible object,
    but I couldn't find any way to make the bullet ignore the player, I'm kind of stuck.
    NOTE: the strange thing is that the bullet only collides with the player when I'm looking straight ahead, everything works if I look from any other direction.