playMaker

Author Topic: Smooth Follow Action query  (Read 1791 times)

MattyWS

  • Junior Playmaker
  • **
  • Posts: 90
Smooth Follow Action query
« on: November 03, 2013, 06:52:29 AM »
Hello all, I'm trying to keep my project all in one scene for ease in my project, I start off with the main menu and eventually I have a button that loads a prefab of the level into the scene, including the character. I want the camera to follow the character but using the action "Smooth Follow" doesn't work when the object assigned isn't in the scene to begin with. That is to say, it will follow an object if I put it into the scene and then put that one in the action's slot, but it won't follow an object that isn't in the scene to begin with and is spawned later.

Would anyone know a way around this?

Yanifska

  • Full Member
  • ***
  • Posts: 163
    • My Portfolio
Re: Smooth Follow Action query
« Reply #1 on: November 03, 2013, 07:47:58 AM »
did you try using an action to assign the prefab to  a variable  when loaded. and then the follow action will get this variable as a input ?
Visit my portfolio: http://www.yanivcahoua.com/