Question by 
               unity_196001025 · Aug 12, 2020 at 11:36 PM · 
                c#androidrotationunityeditor  
              
 
              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.
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                