playMaker

Author Topic: Cannot set camera rotation  (Read 165 times)

wh__l_r

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
Cannot set camera rotation
« on: July 14, 2017, 03:05:22 PM »
I have built an FSM that succesfully sets the rotation of a cube from 0 to 45 and back to 0 every 10 seconds. But if I attach that to a camera, for some reason the rotation is not effected either in the gameview or in the inspector.

tcmeric

  • Sr. Member
  • ****
  • Posts: 480
    • View Profile
Re: Cannot set camera rotation
« Reply #1 on: July 14, 2017, 08:42:15 PM »
Hi. Can you send a screenshot of the FSM as well as the hierarchy?

Have you tried this?

Add the FSM to an empty game object. Make the camera a child of the game object. Have the FSM move the game object. This is a pretty common way to control a camera.