Search Unity

Collision triggered without touch

Discussion in 'Physics' started by justtime, Sep 24, 2015.

  1. justtime

    justtime

    Joined:
    Oct 6, 2013
    Posts:
    424

    Hi there!
    Screenshot was filmed in static. When i try hit enemy collision triggered, but it's about 50cm to collider. Enemy has CharacterController with ragdoll(rigidbodies) on inner body parts. Weapon has non-kinematic RB. Time setting is default. Each RB settings : None - Discrete. I realise, that if i set fixedtimestep from 0.02 to 0.05 problem solved.
    So, question...what's i am doing wrong ? =)
    Thanks.
     
  2. justtime

    justtime

    Joined:
    Oct 6, 2013
    Posts:
    424
    I've done new cube-sword with that code http://pastebin.com/RMQac5Sk
    InputDamage attached only on the ragdoll bodyparts. Here is the hit in left upperarm.