wiki.sine.space | sinespace

Difference between revisions of "Adding Poses to Furniture"

From wiki.sine.space
Jump to: navigation, search
(Created page with "You will need to have Unity and the Space Editor pack installed for this tutorial. To add poses to furniture, first select the furniture item you want to use in Unity. ==S...")
(No difference)

Revision as of 15:27, 12 September 2016

You will need to have Unity and the Space Editor pack installed for this tutorial.

To add poses to furniture, first select the furniture item you want to use in Unity.

Setting Up the Item and Animation

Once you have the piece of furniture in the scene, click on the furniture item in the hierarchy, then click Create and choose Create Empty Child.

Emptychild.jpg

You can rename this to 'Pose' if you wish. Making a child for this is so you can move the 'Pose' independently from the main furniture mesh to help position the avatar correctly once animation is added.

With the child/Pose highlighted, click on Add Component in the Inspector window and search for Seat Improved.

When you have added the Seat Improved component, you will see a green box show up on your furniture item and also see the Seat Improved script settings in the Inspector Window.

Seatimproved.jpg

Under the Seat Imrpoved script, you will see a few options.

Seatsettings.jpg

  • Animation- This is for general animations
  • Animation Male- This is for animations specifically made for male avatars.
  • Animation Female- This is for animations specifically made for female avatars
  • NPC- This is for when you want an NPC to be using the furniture with no animation (statue like)

For this chair, I am going to use the Animation slot as I want this to be used by both genders.

Find an animation you want to use for the pose that your avatar will use on the chair.

Once you have the animation, click on it in the Project window. It's Import settings will be shown in the Inspector Window.

Animationimport.jpg

Under the Rig tab, there will be a couple of sub headers:

  • Animation Type
  • Avatar Definition
  • Source

The animation type will want to be set to Humanoid.

If you are setting the animation up to be used with the avatars of Space, choose Copy From Another Avatar under the Avatar Definition header.

Go to Source and choose the fitting avatar for the animation.

Rigsettings.jpg

Click Apply.

Go to the Animation tab and scroll down to Motion. You want to set this to None so you can independently move the avatar when playing the animation under the Game tab.

Animationtab.jpg


Click Apply.

Testing And Finalizing the Animation

Once this is done, click on the child of the furniture (Or Pose if you renamed it), and drag the animation (Will be named Take with numbers after it) into the rightful animation slot under the Inspector Window.

Take.jpg

After doing this, you can search for 'PlayerChar' in the search bar of your project window, and drag it into the hierarchy. You will also need to add a Plane mesh if you are using an empty scene as the playercharacter will fall through the ground of the Unity scene without it. To add a plane, click Create under the hierarchy and go to 3D Object and choose Plane. You will want to place this underneath the furniture you are using.