jamespukka Posted July 25, 2022 Share Posted July 25, 2022 I have imported an FBX with animation data. The animation plays when selecting preview animation. On runtime the FBX is idle. How do I play the animation when runtime starts? Thanks. Link to comment
thomalex Posted July 26, 2022 Share Posted July 26, 2022 Hello @jamespukka! If you simply want the preview animation to play back at run time endlessly: Enable the Loop flag in the Mesh Skinned parameters, Play the animation, Save the world and now you can launch the app and the animation will play back in a loop. For finer control you'll need to manage the animation layers using the ObjectMeshSkinned class of C# API. You can find samples in the C# Component Samples demo. Thanks! 1 Link to comment
jamespukka Posted July 26, 2022 Author Share Posted July 26, 2022 @thomalex Thank you, that's all working great! James. Link to comment
stormer Posted March 2 Share Posted March 2 On 7/26/2022 at 2:03 PM, thomalex said: Hello @jamespukka! If you simply want the preview animation to play back at run time endlessly: Enable the Loop flag in the Mesh Skinned parameters, Play the animation, Save the world and now you can launch the app and the animation will play back in a loop. For finer control you'll need to manage the animation layers using the ObjectMeshSkinned class of C# API. You can find samples in the C# Component Samples demo. Thanks! Hi~ I added a capsule collider on the skinned mesh. When it is collided with other objects, it will fall. How should I set the constraints? Link to comment
Recommended Posts