publish: true
title:
aliases:
- Animations in Godot
Godot's physics engine can be used for animation:
- RigidBody: For physics-based animations and interactions.
- Skeleton IK: For inverse kinematics in 3D animations.
For animating large numbers of small elements:
- GPUParticles2D/3D: For creating particle effects in 2D and 3D.
- CPUParticles2D/3D: CPU-based alternative to GPU particles.
Custom shaders can be used for complex visual animations:
- ShaderMaterial: Allows for creating custom shader-based animations.
- VisualShader: Allows for creating shader-based animations without writing code.
For 3D character animations:
- Root motion techniques can be used with AnimationTree for precise character movement.
The core animation system in Godot includes:
- AnimationPlayer: The primary node for creating and managing keyframe animations.
- Animation Tracks: Components within AnimationPlayer that define specific properties being animated over time.
- AnimationTree: An advanced node for complex animation blending and state management, working in conjunction with AnimationPlayer.