- Home /
Duplicate Question: http://answers.unity3d.com/questions/topics/move-with-moving-platform.html
Character movement on the other Object which is moving ?
I have a problem with my game. Hope everybody can help me to solve it.
In my game, i have a character which is standing on the other object and that object is rotating around the origin O (0,0,0). When i start the game, the object move. However the character still stand on the same position as before, until the object doesn't below the character and then the character fall down. So, how can my character stand and walk on the object?
my rotation script:
public float speed;
private Vector3 point = new Vector3 (0f, 0f, 0f);
private Vector3 rotationVector = new Vector3(0f,5f,0f);
private float wise =-1;
void Update () {
transform.RotateAround (point, rotationVector , 2 * Time.deltaTime* speed * wise);
}
sory, I am not very well about writing!
This question is a pretty common one on Unity answers. Please use the search function before posting questions.
http://answers.unity3d.com/questions/topics/move-with-moving-platform.html
sory about that, my key search was wrong. Thank for your help!
Follow this Question
Related Questions
Following Mouse Motion 1 Answer
Object Rotating around center from Mouse Movement 1 Answer
Move object from point a to point b 1 Answer
Move a 3D object on X and Z axis 0 Answers