playMaker

Author Topic: I need help with Smooth Follow Action  (Read 839 times)

vinyektor05

  • Playmaker Newbie
  • *
  • Posts: 1
I need help with Smooth Follow Action
« on: April 30, 2023, 12:57:46 PM »
Hello everyone,

I would like a little help with the Smooth Follow Action.

So i have a 3D world, but all of the assets are 2D sprites. All of the sprites and camera has the rotation on the X axis as 45. My issue is, that when I run the program the camera automatically changes to 83.662 on the X rotation.

The Smooth Follow Action on the camera actually works and follows the player character. My issue is, that I do not know how to fix the rotation of the camera to stay 45. I have tried multiple things, for example: creating a parent for the camera and setting up to the correct location and rotation.

Could you please help me resolve this issue or give me advice how I could fix this problem?

Thanks for everyone’s help

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7618
    • jinxtergames
Re: I need help with Smooth Follow Action
« Reply #1 on: May 01, 2023, 08:34:24 AM »
Hi.

You should not have the world on 45
You will face more issues than only camera

to prevent camera rotation you can use a empty object to 'Smooth follow' then on camera use Get/Set Position (world) (get position from the empty object)