![]() ![]() Yet the "playing" animation causes no visual changes in the model (yes, the bone names are the same). One of the many speedups he worked on is optimizing the workflows of dragging and selecting lots of items in a large Scene, which took 78 seconds in one large scene from an internal project that he used as his benchmark. Blender 2.81 or beyond & Unity (both available for free) Recommended skills. After inserting Debug.Logs at different points, I can confirm that the Play function is getting called only once, after which IsPlaying always returns true. Peter Hall was the main driver of this effort for Unity 2021.2. Merlin Peppler - Founder of CGI-Guy, Sci-Fi Nerd and 3D Artist CREATE 3D. Anything I'm missing?ĮDIT: For clarification: The model stays in the default T-Pose, after pressing 'W'. It doesnt give any errors, yet it doesn't work either. If (!(animation_handler.IsPlaying("walking"))) ![]() In the game loop, I tried using this: if (Input.GetKeyDown(Ke圜ode.W)) Walking_anim = Resources.Load("fbx_anims/walking_anim_test", typeof(AnimationClip)) as AnimationClip Īnimation_handler.AddClip(walking_anim, "walking") Īnimation_handler.wrapMode = WrapMode.Loop I am trying to load an animation from an fbx file and have it play on a GameObject: TestObject.AddComponent() Īnimation_handler = TestObject.GetComponent() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |