- Home /
This question was
closed Apr 27, 2012 at 09:29 AM by
venkspower for the following reason:
Question is off-topic or not relevant
Question by
venkspower · Nov 15, 2011 at 01:18 PM ·
object
To move an object in an elliptical path.
Hello, I am new to Unity-3D. I have to move an object in an elliptical path, without controlling it. I have to stop this process after triggering another process. Please, help. Thanks in advance.
Comment
Answer by ifaris7 · Nov 15, 2011 at 02:22 PM
use the circle equation,
public float Radius;
transform.position.x = Mathf.cos(Time.time)*Radius; transform.position.y = Mathf.sin(Time.time)*Radius;