playMaker

Author Topic: How to orbit a camera around a GameObject?  (Read 4265 times)

jess84

  • Hero Member
  • *****
  • Posts: 515
How to orbit a camera around a GameObject?
« on: February 09, 2014, 03:19:56 PM »
I've been trying to work out which is the best way, but got a bit confused with so many different options.

I don't want it to be based on any input, simply to start rotating around and looking at a named GameObject.

It seems like such a basic thing, but going over all of the Actions, can't find something just right.

dottim

  • Playmaker Newbie
  • *
  • Posts: 7
  • lost in space
    • The Quantum Principle
Re: How to orbit a camera around a GameObject?
« Reply #1 on: February 09, 2014, 03:44:23 PM »
there is an action that is called 'rotate around', not sure if it is included in the standard playmaker package or if I downloaded it from this forum though :/

jess84

  • Hero Member
  • *****
  • Posts: 515
Re: How to orbit a camera around a GameObject?
« Reply #2 on: February 09, 2014, 04:00:43 PM »
Ah. I shall search for it. It's not part of the standard actions.

Groo Gadgets

  • Beta Group
  • Full Member
  • *
  • Posts: 175
Re: How to orbit a camera around a GameObject?
« Reply #3 on: February 09, 2014, 05:56:51 PM »
Heya,

Here's a tip that you should always use for cameras; rather than trying to rotate the camera around an object it's best to parent the camera to an empty object and simply rotate the empty.

Then just add a "look at" action to the camera and point to the object you want the camera to look at.

So the empty object should be at the center of the object you want the camera to rotate around.

Hope that helps  :-)

Simon