Gestion de la physique et de quelques animations dans Unity.
using UnityEngine; using System.Collections; public class rotator : MonoBehaviour { // Update is called once per frame void Update () { transform.Rotate(new Vector3(15, 30, 45) * Time.deltaTime); } }