Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: IIKII on October 29, 2019, 11:35:47 PM

Title: 2d side scroller look at
Post by: IIKII on October 29, 2019, 11:35:47 PM
Hi I am trying to get my player to look at the position it's moving to in a 2d side scroller game but unexpectedly difficult to achieve that using the smooth look at actions. I think I tried all of the look at actions including the 2d ones but none of them are working correctly, they are rotating in weird directions.

Any 2d side scroller example scenes or instructions to correctly setup the player to look correctly in 2d?
Title: Re: 2d side scroller look at
Post by: jeanfabre on October 30, 2019, 02:44:14 AM
Hi,

 Can you show a video of what you are expecting? thanks.

Bye,

 Jean
Title: Re: 2d side scroller look at
Post by: IIKII on November 02, 2019, 12:50:37 AM
Hi,

 Can you show a video of what you are expecting? thanks.

Bye,

 Jean

Something like this -
I can switch the character's x scale by simply comparing the x position of the player and the mouse position but i am curious on how the Look At actions can achieve this? or maybe they are not?
Title: Re: 2d side scroller look at
Post by: jeanfabre on November 04, 2019, 02:29:31 AM
Hi,

 sorry, the video is too long, I am still not sure what you are after, can you point the time stamp? I tried to look for some smooth lookat transition in there but had no luck...

Bye,

 Jean