playMaker

Author Topic: Camera Start Or Stop Fallow  (Read 1147 times)

CoCo

  • Playmaker Newbie
  • *
  • Posts: 15
Camera Start Or Stop Fallow
« on: May 23, 2017, 11:18:42 AM »
Hi everyone!

I need some help pls. I'm just a graphist newbie on playmaker.

I have no problem to have a camera fallow on my character.
But i'm searching a solution to control my camera.

For exemple on the picture we can see a character/Player enter in scene on the right. And i want camera stay in first, and fallow him when his position is equal or less 2.8 (for exemple) or colide with my "camera trigger" (at position x 2.8 also).
And if camera can stop follow him if he is is more than value X:2.8, it will be great.

I create a trigger on position x:2.8 for collision with Player. But i don't know how put that collision on my camera FSM (In the "Check Trigger" states on picture 2). Collision trigger 2d event is not for my camera fsm, because it's between player and game object "trigger cam".... I can't compare two other objects collisions event on fsm of my camera?
And i'm searching and other solution on vector, but no way for now....

Thank You!!!!