Hi,
I want to , a Cone volumetric light , Show the Dancer in my Party.
I use the transform.LookAt
but it doesn’t work !! it is Looking 180 Degree Wong , How can i fix this?
using UnityEngine;
using System.Collections;
public class LookTarget : MonoBehaviour {
// Use this for initialization
public Transform Player;
public Vector3 originalUp;
void Start () {
}
// Update is called once per frame
void Update () {
transform.LookAt(Player);
}
}
my Out Put is Something like this :
but I want something like this !!
HOW CAN I FIX THIS PROBLEM , THANKS