That’s the problem: I don’t want movement of rigidbody while colliding with other rigids. Not all rigids, but tagged with certain tag. It happens when rigid A stays and rigid B moves to A and hits that. If rigid B tagged “1”, A should stay like stone. Else, hit should be applied. I’ve tried to do next:
function OnCollisionEnter(e:Collision){
rigidbody.velocity -= e.relativeVelocity;
}
Or “OnCollisionStay” with same code. But it does not work well: rigid A starts a quake. Help me please.