Skip to main content
12 events
when toggle format what by license comment
Mar 29, 2021 at 19:06 vote accept some1 here
Mar 26, 2021 at 6:30 comment added Emil @some1 here IsKinematic on while your animation is running, off when its done. Was my idea. Since it turns off and on physics (i.e. exactly what you asked?). But since I have never tested it I don't know if it works that way. But it sounds like your animation overrides the physics somehow so maybe the problem was the other way around.
Mar 25, 2021 at 20:17 answer added some1 here timeline score: 0
Mar 25, 2021 at 20:13 comment added some1 here @DMGregory, I am trying to avoid using a script here whatsoever by unticking the enablement checkbox of an Animator component in the end of the animation. I think I will post an answer after I will figure it out.
Mar 25, 2021 at 20:12 comment added some1 here @Zibelas, but in my case I want the rigidbody to be affected by physics...
Mar 25, 2021 at 20:11 comment added some1 here @DMGregory, yeah. You are reading my mind. I wanted to get an answer, so I did not post the update as one :)
Mar 25, 2021 at 20:09 comment added DMGregory Your "Update" should be posted as an Answer - it's worth an upvote on its own. Don't worry, even an answered question can still get other answers, so you won't be blocking alternative solutions. (Though myself, I'd say this is exactly the situation animator.enabled = false exists to serve)
Mar 25, 2021 at 20:05 comment added Zibelas @some1here Is Kinematic If enabled, the object will not be driven by the physics engine, and can only be manipulated by its Transform. This is useful for moving platforms or if you want to animate a Rigidbody that has a HingeJoint attached.
Mar 25, 2021 at 19:58 history edited some1 here CC BY-SA 4.0
added 231 characters in body
Mar 25, 2021 at 19:52 comment added some1 here @Emil, it seems your comment has nothing to do with my question. Otherwise, could you elaborate it, please?
Mar 25, 2021 at 6:55 comment added Emil Have you tried isKinematic ? docs.unity3d.com/Manual/class-Rigidbody.html (I am still on my first or second readthrough of the manual and haven't tested it myself yet).
Mar 24, 2021 at 20:14 history asked some1 here CC BY-SA 4.0