GMU:Digital Puppetry Lab/Group Ben & Luca: Difference between revisions

From Medien Wiki
Line 78: Line 78:
File:unity3.png| Prefab
File:unity3.png| Prefab
</gallery>
</gallery>
 
You can now simply drag your sprite from the Assets Folder into your Unity Scene and it will automatically create an "animation controller" and an "animation" of your sprite. As default the Animation will be stored as a loop.
By pressing play your character should now play the animation you first created in "aseprite". Now your object needs a "Rigidbody" and a "Box Collider" so it can behave as a physics Object.
[[File:unity2.png|thumb]]
[[File:unity2.png|thumb]]