0% found this document useful (0 votes)
67 views8 pages

Jkjkyuk

34rc tres

Uploaded by

bopufouria
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views8 pages

Jkjkyuk

34rc tres

Uploaded by

bopufouria
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Productos

Solutions
Made with Unity
Conocer
Comunidad
Asset Store
Obtener Unity

Tutoriales
Documentacin
Knowledge Base
Premium Support
Entrenamiento en vivo
Recursos
Certification
Education

Buscar en Unity

Unity ID
Una ID de Unity te permite comprar o suscribirte a los productos y servicios de Unity,
comprar en la Asset Store y participar en la comunidad de Unity.

Iniciar sesin Crear una Unity ID

Inicio
Productos
Solutions
Made with Unity
Conocer
o Tutoriales
o Documentacin
o Knowledge Base
o Premium Support
o Entrenamiento en vivo
o Recursos
o Certification
o Education
Comunidad
Asset Store
Obtener Unity

Idioma


English
Franais
Deutsch


Portugus

Tutoriales
Animation
Animate Anything with Mecanim

Animate Anything with Mecanim


Revisado con versin: 4.5
-
Dificultad: Principiante

In this session we will have an introductory look at animating objects with the Mecanim
animation tool and state machine. Many people feel that Mecanim is meant exclusively
for animating humanoid bi-ped characters, but it can be used for so much more - and not
only character animation, but animating UI Elements, opening doors, changing lights...
any publicly exposed value can be animated with Mecanim. Let's do it! Tutor: Adam
Buckner
Animate Anything with Mecanim
Principiante Animation

DoorActivator
Expand view

Copy code

C#

using UnityEngine;
using System.Collections;

public class DoorActivator : MonoBehaviour {

public Animator[] lights;

private Animator animator;

void Awake () {
animator = GetComponent <Animator>();
}

void OnTriggerEnter (Collider other) {


if (other.gameObject.tag == "Player") {
animator.SetBool ("Open", true);
foreach (var light in lights) {
light.SetTrigger ("Activate");
}
}
}

void OnTriggerExit (Collider other) {


if (other.gameObject.tag == "Player") {
animator.SetBool ("Open", false);
}
}
}
Using Timeline: Custom Scripts

Character Animation Setup

Tutoriales relacionados

Animation Curves and Events (Leccin)


Animation Properties (Leccin)
Animator Controller Layers (Leccin)
Animator Scripting (Leccin)
The Animation View (Leccin)
The Animator Component (Leccin)
The Animator Controller (Leccin)
Animation

Animating

Controlling Animation

Character Animation

Timeline

Live Sessions on Animation

1. Animate Anything with Mecanim


2. Character Animation Setup

Community Posts on Animation

Comprar

Suscripcin
Asset Store
Unity Gear
Revendedores

Educacin

Estudiantes
Educadores

Descargar

Unity
Programa beta
Reproductor web
Material de prensa
Libros blancos

Laboratorios

Investigar

Recursos

Conocer
Comunidad
Documentacin
Preguntas y respuestas sobre Unity
Preguntas frecuentes
Estado del servicio
Certificacin
Conectar
Investigacin del usuario

Acerca de Unity

Datos de la compaa
Blog
Eventos
Carreras
Prensa
Contacto
Socios
Afiliados
Seguridad

Obtenga noticias de Unity

Estoy de acuerdo con la Poltica de Privacidad de Unity y con el procesamiento y uso de mi


informacin

Idioma


English
Franais
Deutsch


Portugus

Socios

Facebook Twitter Google+ LinkedIn YouTube


2017 Unity Technologies

Legal
Poltica de privacidad
Cookies

Lo tengo

Usamos cookies para asegurarnos de brindarte la mejor experiencia en nuestro sitio


web. Haz clic aqu para obtener ms informacin.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy