#How to stop the loop of 3d model animation created in Blender?

10 messages · Page 1 of 1 (latest)

tired urchin
#

Hi guys, by default after importing 3d model with animation from another software (like Blender) it is loop and there is no direct way to make any modifications. How it could be resolved/controlled ? I have checked documentation Lens Studio, but most info for old versions, from 5 it is different. How to make it with scripting/behavior another ways ?

glacial aurora
#

so you'd import the animation player component then can run one of the play functions, for instance just to play a clip simply:

//@input Component.AnimationPlayer animationPlayer

script.animationPlayer.play("clipName")
#

also uncheck autoplay on the animation player itself of course

#

Behavior script also supports it like so:

tired urchin
teal ember
#

Import your animated FBX

#

Drag the model into the Objects panel.

#

In the Inspector, find the Animation component.

#

Uncheck Auto Play or Loop depending on what you want.