Trying to clarify that my approach is fine. Point is that there is a game object, with empty parent object with all scripts attached and child objects like sensors, motor - model and so on. Well, parent script controls child rigidbody(with collider) to move it. Is it ok when parent object moves by child rigidbody?
Thanks in advance
Well, I found that such approach doesnt work.
it should work just apply this script to the parent and set the “child” to your child object inside the parent.
Public Transform child; void Update() { transform.position = child.position; }