Documentation

Unity Spark

Open Unity Spark

Unity Spark

Generate a character

Use the Generate window to turn a 2D sprite into a 3D model and then a rigged character ready for animation.
Read time 2 minutesLast updated 3 hours ago

This tutorial shows how to make a character in the Generate window, going from a 2D sprite to a 3D model to a rigged character that's ready for animation. The example creates a skeleton pirate that you can use as a player character or a non-player character (NPC).
The example uses the following prompt.
A low-poly skeleton pirate, cartoon style, game asset, white background, 3d rendered, t-pose, no weapons
The example creates a 2D image of the character with the Sprite mode in the 2D category. It then creates a 3D model from that image with the 3D Model mode, and adds a skeleton with the Rig mode. Both modes are in the 3D category.
Before you generate, check the free assets. If you find a character that fits, you save credits. You can also use a paid asset.

Generate a 2D image

To generate a 2D image of your character:
  1. In the Generate window, select the 2D category and the Sprite mode.
  2. Enter your prompt.
  3. Select Generate.
For the 2D image, include
t-pose
,
white background
, and
no weapons
in your prompt. An image like this converts to 3D more cleanly and rigs more reliably. Try different AI models to find the one that suits your art style.
A 2D image of a cartoon pirate skeleton character in a T-pose on a white background.

A generated 2D skeleton pirate.

Turn the image into a 3D model

To create a 3D model from your 2D image:
  1. Select the 3D category and the 3D Model mode.
  2. Drag the sprite you generated into the reference image slot to the left of the prompt field.
  3. Select Generate.
A 3D model of the pirate skeleton character in a T-pose against a black background.

A generated 3D skeleton pirate.

Add a skeleton

A rig gives your character bones so that animations can move it.
To rig your 3D model:
  1. In the 3D category, select the Rig mode.
  2. Drag the 3D model you generated into the reference image slot.
  3. Select Generate.
The rigged 3D pirate skeleton model shown semi-transparent, with the colored bones of its rig visible inside.

A generated rigged skeleton pirate.

After you rig the model, check that the bones sit in the right places. If they don't, generate the rig again.

Add the character to your game

To add your rigged character to your game:
  1. On the rigged character, select Add to project (+).
  2. Place the character in your scene, or ask the AI assistant to place it for you.
  3. Give the character animations. Ask the assistant to find and import ready-made animations, or create your own in the Animation category with the Text to Motion mode.

Additional resources