playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - PolyMad

Pages: [1] 2 3 ... 33
1
General Discussion / Re: So FSM templates are NOT instantiated...
« on: September 14, 2021, 01:00:50 PM »
Dohhhh thank you man!!!

2
General Discussion / Re: So FSM templates are NOT instantiated...
« on: September 14, 2021, 10:20:36 AM »
However, the thing seems to work with Tween, so for now I'll stick with that... but something is wrong in my opinion.

3
General Discussion / Re: So FSM templates are NOT instantiated...
« on: September 14, 2021, 10:10:49 AM »
There is something REALLY fishy going on here.
I was recording a video for you (btw: thank you very much for all your time, one day I'm sure I will be able to pay back), and re-adapting the scripts because meanwhile I changed the concept of my game, so the TapManager has completely changed.

So I have put back the old template to the camera to make it work.
And of course the situation was exactly the same as before.
Then I worked on the log to be spawned, because I wanted to show you both my manual scaling and the Tween solution too.

And... now the Tween solution WORKS, but when using my manual scaling, still the FSM doesn't look instantiated: all the logs seem to be using the same Scale variable.

OMG now I uncovered the problem... while I was recording the video... and there is in fact something very fishy going on... or I am terribly dumb?


4
General Discussion / Re: So FSM templates are NOT instantiated...
« on: September 12, 2021, 07:32:07 AM »

As you can see, the logs all grow the same size.
If you see sharply, the first log starts small and then grows, but the next ones start already large. That's because the FSM is the same and not instantiated on the different prefabs asyncronously: it's exactly the same.
If the FSM was instantiated, they should grow each one with its own size: small at spawn, and then grow.

I tried this over and over with different actions.
In this case, I made the scaling myself, using the Scale Object, but also using Tween I have the same result.
Apparently, the same FSM is managing all the logs, and thus a single Scale variable is used for all of them.

I must say that I COPIED the Unity Object and pasted it to several different objects, so I don't know if this can be the issue, as Unity would assign the exact same identifier to all of them. Not sure about how this works.

5
General Discussion / So FSM templates are NOT instantiated...
« on: September 12, 2021, 06:25:38 AM »
I thought up to now that the FSM templates were instantiated for each object using them, but they are not.
Now I understand why some behaviors were strange.

Is there a way to have this, I mean: exactly the same FSM for many prefabs, that gets instantiated with each of them at spawn in the scene?

6
PlayMaker Help / Re: Can playmaker control audiomixer volume?
« on: September 12, 2021, 04:59:01 AM »
Up!

7
PlayMaker Help / Playmaker or Unity bug?
« on: September 12, 2021, 04:57:17 AM »

As you can see, the first time the object (tree) is clicked, only the collision mesh of the object moves.
Then with the following clicks the whole object moves.
It happens with both trees.

I was getting mad with this behavior because the objects are essentially exactly the same: only the meshes and the countdown times change.
But their behavior in this context is the same: they have the FSM template that shakes the tree and even everything else is exactly the same.
So, before spotting the collision mesh moving, I thought that the problem was coming from Playmaker.

But after seeing that the object seems somewhat "disjointed" by only relocating the collision mesh and not the rendered mesh, my hypothesis here is that Unity is not initializating correctly the object.

8
PlayMaker Help / Re: Can playmaker control audiomixer volume?
« on: September 10, 2021, 04:14:23 AM »
I was just going to post something about the AudioMixer groups, that are a really GREAT thing to manage audio along the whole app.
I tried with the float variable but it didn't work. I think we need a new action in the ExoSystem  :-*

9
Yoooo!!

10
Well for now I solved, for the next time I'll see if re-getting the count each time will work.

11
"update/preprocess"

How?

12
PlayMaker Help / Get Next Child does not get the right number of children?
« on: September 08, 2021, 11:12:46 AM »
As you can see in the video, using the integrated action Get Next Child does not seem to be working correctly.


Get Child Count though is working correctly, so I reverted to Get Random Child and Get Child Count at every cycle for this.

13
As per title: I created an event and I did NOT check it as global.
Yet it shows up in the global events menu.

14
General Discussion / Re: What do you use now that Easy Touch is gone?
« on: September 08, 2021, 05:53:04 AM »
Great, man, thank you!

15
I added some template FSM to an object, but now the object is lacking the 2 elements in cited in the title.
What should I do?

Pages: [1] 2 3 ... 33