Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: wheresweirdo on November 22, 2017, 05:08:36 PM

Title: Smooth Follow Action (Camera looks at object shadow)
Post by: wheresweirdo on November 22, 2017, 05:08:36 PM
I'm working on a 2.5 side scrolling project for a school project, I would like to use the (Smooth follow action) to follow my character, but I would like the camera to face a nearby wall so the player only sees the shadow. I've set the main camera to look at the shadow but everytime I hit the play button the camera goes back to looking at the player model.

Does anyone have any ideas on how to make this work? Any help would be hugely appreciated :)
Title: Re: Smooth Follow Action (Camera looks at object shadow)
Post by: djaydino on November 23, 2017, 03:56:38 AM
Hi,
Maybe you can set a empty game object and then set the camera as a child to that object.
then use on the Smooth follow action on the empty object.

and maybe you need to use a look at direction on the camera to set a direction to look at