Difference between revisions of "Animated Objects"
Line 1: | Line 1: | ||
− | Animated objects are like Mesh objects with additional properties. | + | Animated objects (Entity) are like Mesh objects with additional properties that enable animations that are embedded in a model to be played and controlled. |
− | Use an '''Entity''' object to add an animated mesh object to a zone. You will assign a gltf or .glb file that contains animation to the Entity object. | + | Use an '''Entity''' object to add an animated mesh object to a zone. You will assign a Resource Locator that is the name/path to a gltf or .glb file that contains a model with embedded animation to the Entity object. |
Animations created on the Mixamo website and downloaded as a FBX (.fbx) file also work. | Animations created on the Mixamo website and downloaded as a FBX (.fbx) file also work. | ||
Line 10: | Line 10: | ||
==Multiple Animations== | ==Multiple Animations== | ||
− | An Entity can have | + | An Entity can have a model assigned to it that contains more than one animation. Wiring can control which animation is playing, as well as stop and play. |
To create such a model, use the Mixamo.com website to rig and get animations. | To create such a model, use the Mixamo.com website to rig and get animations. |
Revision as of 11:05, 28 March 2022
Animated objects (Entity) are like Mesh objects with additional properties that enable animations that are embedded in a model to be played and controlled.
Use an Entity object to add an animated mesh object to a zone. You will assign a Resource Locator that is the name/path to a gltf or .glb file that contains a model with embedded animation to the Entity object.
Animations created on the Mixamo website and downloaded as a FBX (.fbx) file also work.
1. Create a new object Visual-> Entity
2. Set the Resource Locator using the resourcelocator field in the Property Editor (click the Browse button to find the animated .gltf or .glb or .fbx file on your disk.)
Multiple Animations
An Entity can have a model assigned to it that contains more than one animation. Wiring can control which animation is playing, as well as stop and play.
To create such a model, use the Mixamo.com website to rig and get animations.
- Upload your model to Mixamo and rig it there.
- Download the rigged model in Tpose as an FBX model
- In Mixamo choose an animation for your model, and download the animation (without skin) as FBX
- Do this for other Mixamo animations. so that you end up with a Tpose FBX model file and several animation FBX files.
- Go to https://nilooy.github.io/character-animation-combiner/
- Do Upload File with Character ulpading teh tpose FBX file
- Upload Animations
- Click the EXPORT GLB button to download your file
The .glb file will be downloaded. Move it into your zone folder (in .cldata/Users/'yourname'/'YourZone')
set the ResourceLocator Property for the Entity to point to this file
When wiring to this Entity, you will see all the animations listed in the Input menu under Animations
Next: Adding_a_Light