Hi,
I'm wondering if a rigidbody is required or not when moving a collider by script. This collider can collide with dynamic objects (these objects have a non-kinematic rigidbody), and no script callback (OnCollisionXXX) is required.
I tried both (without rigidbody attached and with a kinematic rigidbody attached), and the result look the same : All the dynamic objects collide normally with this "moving wall".
I've heard that it's best practice performance-wise for the physics engine to have a kinematic rigidbody on moving colliders. Is this true ? or is it only true if I want collision callback ?
Thanks a lot!
↧