Skip to content

Abdulkader-Safi/godot-model-preview-and-animation-test

Repository files navigation

Model Preview Tool

A Godot 4.5 tool for previewing GLTF/GLB 3D models with animation playback support.

Preview

Features

  • Model Library - Import and save models to a persistent library
  • Animation Playback - List and play all animations from loaded models
  • Orbit Camera - Rotate, pan, and zoom to inspect models from any angle
  • Root Motion Lock - Keeps models centered during animation playback
  • Resizable UI - Adjustable sidebar sections for model library and animation list

Controls

Action Control
Rotate camera Left-click + drag
Pan camera Right-click + drag
Zoom in/out Scroll wheel

Usage

  1. Import a Model - Click "Import" to browse and select a GLTF or GLB file
  2. Select from Library - Click any model in the library list to load it
  3. Play Animations - Select an animation from the list and click "Play"
  4. Remove Models - Select a model and click "Remove" to delete from library

UI Layout

  • Model Library - Shows imported models (persists across sessions)
  • Animation List - Shows all animations in the loaded model
  • Playback Controls - Play, Pause, and Stop buttons
  • 3D Viewport - Displays the model with orbit camera controls

The divider between Model Library and Animation sections can be dragged to resize.

File Storage

Models and library data are stored in the user data directory:

Platform Location
macOS ~/Library/Application Support/Godot/app_userdata/Model_Preview/
Windows %APPDATA%\Godot\app_userdata\Model_Preview\
Linux ~/.local/share/godot/app_userdata/Model_Preview/

Supported Formats

  • .gltf - GL Transmission Format
  • .glb - Binary GL Transmission Format

Requirements

  • Godot 4.5+

About

A Godot 4.5 tool for previewing GLTF/GLB 3D models with animation playback support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors