Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: cloud03 on December 06, 2013, 11:04:31 AM

Title: 2D Platform Camera Movement
Post by: cloud03 on December 06, 2013, 11:04:31 AM
Hi all, I've modified the smooth follow action to make a camera that follow the character but with dampening on both axis (horizontal & vertical).

Just set the side dampening to a low number, the higher the number, the lesser dampening effect. This will give a mario camera feel...

hopefully this is useful...

Update: version 2 now includes option to ignore the vertical position of the target object.
Title: Re: 2D Platform Camera Movement
Post by: Kothe on December 22, 2013, 08:46:22 PM
Hi!

Be sure it´s useful !

Thx
Title: Re: 2D Platform Camera Movement
Post by: jeanfabre on December 26, 2013, 08:33:00 AM
Hi,

 It will be in the unity 2d package, thanks for this.

https://trello.com/c/jLaS9RvH/42-unity-2d-look-at-and-related-actions-rework

don't forget to vote up this task.


 Bye,

 Jean
Title: Re: 2D Platform Camera Movement
Post by: Sid on July 10, 2014, 09:10:10 PM
EDIT: 

I am in error.

It works fine.  I just had to reset my 'Ease Float' for some reason.

Thanks.

Quote
Hi.

I cannot seem to pass an 'Ease Float' variable into either 'Height Damping' or 'Side Damping', but I can pass a 'Set Float' variable. 

Is there any way to go about this?  Without 'Ease', we get a jerky camera.

I've posted the code below.

Thanks so much.  I'm really digging PlayMaker.
Title: Re: 2D Platform Camera Movement
Post by: 4ppleseed on October 08, 2014, 03:55:02 PM
This is excellent, thanks  8)
Title: Re: 2D Platform Camera Movement
Post by: cloud03 on October 15, 2014, 08:19:42 PM
Updated the script, now includes option to ignore the vertical position of the target object, please check the first post for the updated script.
Title: Re: 2D Platform Camera Movement
Post by: dudebxl on September 29, 2015, 02:00:24 PM
Are these actions in the ecosystem? Was looking for a 2d camera action but could not find.. This was not what i needed but still...
Title: Re: 2D Platform Camera Movement
Post by: boragungor on September 29, 2015, 02:53:41 PM
An old thread but useful, thanks ! =)