# Animated Model load a rigged glTF and play its skeletal animation. ```{raw} html ▶ Run in browser ``` **Tags:** `3d` `animation` `gltf` `skeletal` Auto-downloads the Khronos Fox sample on first run. Fox is a small rigged, skinned model that ships three baked animation clips (Survey, Walk, Run); this viewer imports it with ``import_gltf``, drives its skeleton with an ``AnimationPlayer`` playing the Run cycle on a loop, and orbits a Camera3D around it under a DirectionalLight3D so the motion is visible. Asset references use the canonical ``Resource(package, name)`` form, which resolves through ``importlib.resources``. The ``Fox`` directory under ``examples/features/3d/assets/`` is a real Python package (it ships an empty ``__init__.py``); we add ``examples/features/3d/assets`` to ``sys.path`` so the package is importable even when the demo is launched via a bare file path. ## What it demonstrates - Importing a rigged, skinned glTF model with ``import_gltf`` - Locating the imported skeleton and its baked SkeletalAnimationClips - Driving the skeleton with an ``AnimationPlayer`` playing a clip on loop - A fixed DirectionalLight3D + auto-orbiting Camera3D framing the model Controls: Left-click drag: orbit camera Scroll wheel: zoom in/out Escape: quit Usage: uv run python examples/features/3d/animated_model.py ## Source ```{literalinclude} ../../examples/features/3d/animated_model.py :language: python :linenos: ```