How to make platform to rotate player ?
Hello guys, im pretty new to unity and here. So i am trying to improve myself by videos and texts and made a couple of working codes and kind of a game. And now i'm stuck with this question. I have a player and it always goes on z axis. I want a platform object to spin and also interact with the player. I thought rotating the platform by code would work but i couldn't make it work. I may miss something except code. I'm open for all answers and thank you already ! :)
void Update() { transform.Rotate(new Vector3(0f, 50f, 0f) * Time.deltaTime);
}
It's the code i use to rotate the platform.
Your answer
Follow this Question
Related Questions
How to make platform to rotate player ? 0 Answers
Android app unity not working 0 Answers
How to apply steerAngle on car like in Traffic Racer game? 0 Answers
Help with google vr for android api 0 Answers
I tried fixing "Using GUiTexture has been removed, use UI.Image instead" But it wont work 1 Answer