Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: VivaLaBaz on June 17, 2018, 06:09:27 AM

Title: Is there any Actions for Cinemachine?
Post by: VivaLaBaz on June 17, 2018, 06:09:27 AM
I''m attempting to change the camera distance when walking into a trigger, simply dragging the Cinemachine script into playmaker doesn't give me that option.

EDIT: My bad I think i've posted in the wrong section, could a mod please move this to the correct section.
Title: Re: Is there any Actions for Cinemachine?
Post by: djaydino on June 17, 2018, 11:06:38 AM
Hi.
Help section is fine.

There should be a package on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181)

As i could see on this post :
http://hutonggames.com/playmakerforum/index.php?topic=18791.msg81849#msg81849

But i can't seem to find it on the Ecosytem.

I will contact jean tomorrow.
Title: Re: Is there any Actions for Cinemachine?
Post by: jeanfabre on June 18, 2018, 02:37:15 AM
Hi,

 it's there:

(https://i.imgur.com/jOgZoej.png)

 warning, on 2018, the cinemachine is a different version and not the one from the asset store, I'll be working on this this week hopefully.

Bye,

 Jean
Title: Re: Is there any Actions for Cinemachine?
Post by: djaydino on June 18, 2018, 04:11:14 AM
Hi.
Ah yes, sorry.

I was on U5.6 when i looked for it and its's 2017+ :)
Title: Re: Is there any Actions for Cinemachine?
Post by: VivaLaBaz on June 18, 2018, 12:40:27 PM
Thank you guys.
I think i'll wait for the updated version, I don't fancy any bugs right now haha
Title: Re: Is there any Actions for Cinemachine?
Post by: VivaLaBaz on June 20, 2018, 01:57:54 PM
So i've reverted back to Unity 2017 just to use this. What im looking to do is moved the camera closer to the character when entering a trigger, but I cant seem to find an option for that from the Ecosystem download?
Title: Re: Is there any Actions for Cinemachine?
Post by: jeanfabre on June 21, 2018, 02:12:49 AM
Hi,

 yes you can do this I think with the FollowZoom extensions, which has PlayMaker actions, check FollowZoomSetProperties and FollowZoomGetProperties

else, what is your cinemachine camera rig, depending on it, your solutions may vary.

Bye,

 Jean
Title: Re: Is there any Actions for Cinemachine?
Post by: VivaLaBaz on June 21, 2018, 07:41:31 AM
Sorry my bad, I'm using the free cam cinemachine. The follow zoom works great but the rotation stays the same. The free cam has 3 rings around your character that the camera follows when rotating, these rings need to change radius when the camera zooms in, but on the FollowZoomSetProperties it doesn't allow me to change the radius of the rings for a tighter rotation.
Title: Re: Is there any Actions for Cinemachine?
Post by: VivaLaBaz on June 24, 2018, 04:21:44 AM
A few images for better understanding

This is the rings for the camera before entering trigger
(http://i68.tinypic.com/2vtacmc.png)

Character before entering trigger
(http://i66.tinypic.com/s2fa6v.png)

Rings after trigger using FollowZoomSetProperties
(http://i65.tinypic.com/2jd3loi.png)

Character after trigger using FollowZoomSetProperties
(http://i63.tinypic.com/2j1ojfl.png)

as you can see FollowZoomSetProperties works but it doesnt change the size of the rings at all (which i really need it to for a tighter rotation) Any help on this part at all?
Title: Re: Is there any Actions for Cinemachine?
Post by: jeanfabre on June 28, 2018, 01:55:15 AM
Hi,

 ok, I'll create the actions to let you control the 3 rings properties. not a problem.

I am very busy at the moment, so please bump me tomorrow morning if I have not done it today ok?

 Bye,

 Jean
Title: Re: Is there any Actions for Cinemachine?
Post by: jeanfabre on June 28, 2018, 05:09:25 AM
Hi,

 ok, they are up on the Ecosystem. Look for FreeLookCameraSetRigSettings and FreeLookCameraGetRigSettings

 warning, currently, Cinemachine support is only for Unity 2017, Unity 2018 has a different way to get the cinemachine, ( via package manager) and is a different version, so I'll soon release a dedicated version for 2018.

 Bye,

 Jean
Title: Re: Is there any Actions for Cinemachine?
Post by: VivaLaBaz on July 01, 2018, 03:56:53 AM
Thank you so much :) I did find an alternate way of doing it using the timeline, but it was a little performance heavy. this will be perfect. Thanks again