Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: IIKII on September 20, 2019, 06:02:56 AM

Title: Dynamic vision cone is broken in 2018[SOLVED]
Post by: IIKII on September 20, 2019, 06:02:56 AM
Hi, Dynamic vision cone is broken in Unity 2018.4.9. No cone is visible in the editor and game scene.
Title: Re: Dynamic vision cone is broken in 2018
Post by: jeanfabre on September 20, 2019, 06:06:43 AM
Hi,

 What do you mean by vision cone?

bye,

 Jean
Title: Re: Dynamic vision cone is broken in 2018
Post by: IIKII on September 20, 2019, 09:40:17 AM
Sorry I don't understand your question. Isn't "Dynamic Vision cone Fov" a playmaker action? It was working in the older unity version but after upgrading to 2018, the vision cone isn't displaying.

I tried a new project and it didn't work too.

thanks
Title: Re: Dynamic vision cone is broken in 2018
Post by: jeanfabre on September 30, 2019, 02:03:00 AM
Hi,

 ok, I see, it's a custom action. Can you send me a test scene that works? and I'll check it out and try to fix it for newer versions of Unity.

 Bye,

 Jean
Title: Re: Dynamic vision cone is broken in 2018
Post by: IIKII on November 13, 2019, 03:06:35 AM
Just to close this thread off, I managed to solve it. Turns out that i just need to enable 'late update' for newer versions. :D
Title: Re: Dynamic vision cone is broken in 2018[SOLVED]
Post by: stephenscottday on July 31, 2020, 04:03:07 PM
Anyone having a little trouble figuring out how to use the Dynamic Vision Cone action in 2020, I made this video which covers the basics of setting it up:

Title: Re: Dynamic vision cone is broken in 2018[SOLVED]
Post by: jeanfabre on August 03, 2020, 02:41:52 AM
Hi,

 At last a dev video that made me laugh :)

Good luck with your channel!

Bye,

 Jean
Title: Re: Dynamic vision cone is broken in 2018[SOLVED]
Post by: djaydino on August 03, 2020, 11:14:25 AM
Anyone having a little trouble figuring out how to use the Dynamic Vision Cone action in 2020, I made this video which covers the basics of setting it up:


Hi. nice video.
Just a few pointer : @ around 4 min you are talking about the materials on the FOV action.

That is an 'Array' or 'List' and you do not need to skip the element :)

Arrays and Lists always start on 0 instead of 1.
You can read this (https://en.wikipedia.org/wiki/Zero-based_numbering) to know why :)

On around 20 min you are deactivating a object with the blood particle, when you do so the blood particles will suddenly disappear.

A better way is to use 'Particle System Play/Stop', to Start/stop emitting.
This way it will still show the particles until they end.
There are also actions to see if particles are still alive.
I use that if i use pooled particle prefabs. (search particle alive)
Title: Re: Dynamic vision cone is broken in 2018
Post by: Gua on January 21, 2021, 01:36:56 PM
Just to close this thread off, I managed to solve it. Turns out that i just need to enable 'late update' for newer versions. :D
Thanks for providing solution!