wiki.sine.space | sinespace

Difference between revisions of "How to upload avatars/full replacement costumes with custom animations"

From wiki.sine.space
Jump to: navigation, search
(Animator Controller)
Line 14: Line 14:
 
You can fill in the rest of this when you have made the animation using the Animator Controller.  
 
You can fill in the rest of this when you have made the animation using the Animator Controller.  
  
==Animator Controller==
+
==Adding a Custom Animation for Humanoids ==
To create a Animator Controller, right click in the Project window, and select Create>Animator Controller. This will add it to your project window. You can then rename it if you wish. With the Animator Controller selected, in the Inspector window, click on Open. This will open the Animator tab.
+
  
 +
If you are uploading a humanoid replacement costume (human avatar for example), under Animations and Controllers on the Clothing Item Settings , you will need to set the Size under Animation Overrides. The Size corresponds to the number of animations you have for the replacement costume. If you have overrides for Walk, Run, Jump, Idle and Fly Forward and Fly Back, you will need to put the size as 6 for example.
  
[[File:Animatortab.png]]
+
[[File:Animationoverride.png]]
 
+
This is a very simple start to adding states. States are what make the animations play in an organised manner. You can see a simple starter Animator Controller if you search for Player Controller in the Project window. We are going to start with this and change it to fit the costume.
+
 
+
 
+
[[File:Playercontroller.png]]
+
 
+
This is the basic animator controller we have for our avatar animations. These include Idle, Move and the fly animations. You can get rid of most of these and just keep Entry, Exit and Any state, so it looks like this:
+
 
+
 
+
[[File:Emptyani.png]]
+
 
+
Once you have done this, you can then drag in the animations for your replacement costume. You will want to make sure you drag in animations for Idle, Walk, Run, Fly and Jump. You can drag in the animation from your Project window to the Animator.
+
 
+
 
+
[[File:Dragani.png]]
+
 
+
Once they are in the Animator, you will want to lay them out similarly to the Player Controller.
+

Revision as of 07:53, 11 January 2019

This tutorial we will show you how to upload a full replacement costume with custom animations to Sinespace. This is useful if you don't want your replacement costumes to have the same animations as our default avatars. Replacement costumes can be full avatars which are different to the Sinespace one.

EDITING IN PROGRESS

You can follow the steps on our Full replacement costume (no animations) to see how import and set up the costume. For the custom animations part, keep reading on this page.

Adding a custom animation

If you want to make your own animations for your own replacement costume, please go to Unity's Animation tutorials to see how to do this in Unity. Note : If you are going to upload an avatar to use as your replacement costume that you have not made or do not own, please read all of the terms and conditions on the item.

For the animation to actually work on the costume, you will need to make sure you have followed all the steps on the replacement costume (no animations) page, but on the Clothing Item Settings component, make sure you have checked the Animations and Controllers option.

Animationcheck.png

You can fill in the rest of this when you have made the animation using the Animator Controller.

Adding a Custom Animation for Humanoids

If you are uploading a humanoid replacement costume (human avatar for example), under Animations and Controllers on the Clothing Item Settings , you will need to set the Size under Animation Overrides. The Size corresponds to the number of animations you have for the replacement costume. If you have overrides for Walk, Run, Jump, Idle and Fly Forward and Fly Back, you will need to put the size as 6 for example.

Animationoverride.png