- Home /
 
               Question by 
               max-kf · Feb 21, 2012 at 10:21 PM · 
                particle systemshuriken  
              
 
              Rotation of particle system (Shuriken)
Hey guys,
I am having troubles spawning a particle system with a specific rotation. What I want to achieve is that the particle system has the same rotation as the player.
The particle system is a prefab and is created like this:
 Instantiate(Resources.Load("hiphop_whirl"), m_goPlayer.transform.position + m_goPlayer.transform.TransformDirection(Vector3.up), m_goPlayer.transform.rotation) as GameObject;
The particle looks like this:
9595
The rotation of the particle system is always the same, but when I log the rotation of the particle system it is the same as the player rotation. Do I have to do something special to rotate the particle system?
Thanks in advance
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                