R
R
RandomProgrammer2022-03-26 18:18:12
Unity
RandomProgrammer, 2022-03-26 18:18:12

Two animated objects with physics support?

I experimented with animation and physics that could work together. I have achieved that I can make the animated object interact with the physical object and the OnCollisionEnter call works.
Now I want to make two animated objects react to each other. Both test objects have a Rigidbody with isKinematic=true and an update mode in the animator on animate physics . But in this case, the objects pass through each other while the animation continues to play, and the call to OnCollisionEnter does not work for any of the objects.
Is it possible to make them react to each other, for example:
-completely stop the animation,
-stop the animation and start interacting as physical objects,
-start another animation,
-or at least call OnCollisionEnter (or any other calls),
-any other way?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question