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 - krmko

Pages: 1 [2] 3 4 ... 67
Imma grab my pitchfork.

You shouldn't experience any difference in performance. Source: have thousands of fsm's with a lot of states. Bear in mind not to make your fsm's too big in both states and actions since you'll be experiencing editor slowdowns.

PlayMaker Help / Global variables reappearing after reopening project
« on: March 19, 2020, 03:56:46 PM »
Hi guys.

Ok, so i did a little bit of spring cleaning of a project and i decided to ditch most of the globals and only the ones most frequently used since the globals have been nothing but trouble since i started working in Playmaker. That said, i made a globals manager that will hold all the relevant variables as local variables and everything else will just fetch stuff from it instead of using the global variable directly.

So i needed to transfer a lot of FSMs from using global variables to fetching variables from the manager and saving them locally. No sweat, i simply made local variables, named them the same and replaced the used global variables in states with local ones. Actually, almost every time those globals were actually replaced in states with locals the second i created the local variable with the same name as global variable.
Global variable disappears from the Variables tab and appears as a local.

The first problem i encountered was that the globals used count in the scene sometimes remained the same and pointed to FSM's that no longer used the global variable but local instead. Deleting the globals that were, according to used count in the scene, in use in some FSM's didn't cause any issues, those FSM's kept using local variables and everything worked fine.

However, after closing and reopening the project, those globals appeared in the list again, this time wih 0 usages. When i delete them again, save the project, close it and open it again, they appear again.

I will probably try deleting them again, exporting globals and then importing them to see if that will fix the issue, but there's clearly a problem.

If that doesn't help, i'll edit the asset file myself and hope they won't come back.

Globals suck, don't use them unlesss you have to.


General Discussion / Re: Why Playmaker and not Bolt
« on: February 25, 2020, 04:32:35 AM »
You don't need Bolt to write actions, if you know how to use Bolt, you certainly have enough knowledge to make your own action for whatever. It's not that it's hard anyway, most of the stuff comes down to getting the variables and calling the existing methods. There's so many made actions available that you can analyse how anything is made.

Bolt is cool, but i never saw the meaning of doing exactly the same thing as coding but via graph. Playmaker is something much, much more.

PlayMaker Help / Re: Error Loading Action - Index was out of range
« on: February 08, 2020, 02:35:43 PM »
Nah, didn't do anything. I'll just put it on ignore in the console.

PlayMaker Help / Re: Get Rotation Problem [SOLVED]
« on: February 08, 2020, 02:34:25 PM »
Works fine, cheers Jean, you're the best  :)

Share New Actions / Re: GameObject Visible In Camera Frustum
« on: February 05, 2020, 03:39:06 AM »
Thanks Jean, works great, 0.0kb of garbage :)

Share New Actions / Re: GameObject Visible In Camera Frustum
« on: February 03, 2020, 03:34:26 PM »
Hey guys,

can some of the more experienced programmers take a look at this action, it's creating a lot of GC?


First of all, in-unity GDE editor sucks compared to BG which is like a regular sheet editing software. It's cleaner and customizable. Playmaker actions for GDE are also not good compared to BGDatabases which can be generated according to your needs. Generally, i think GDE is more oriented towards populating in sheets/excel, and the inspector is kinda clunky when you have a lot of data compared to BG.

PlayMaker Help / Re: Get Rotation Problem
« on: February 02, 2020, 07:38:25 AM »
Hi Jean,

sorry for being a bit late. What'a s tripod axis?


sorry for late response. I'll report it via bug report in Unity too.

PlayMaker Help / Re: Get Rotation Problem
« on: January 19, 2020, 03:17:34 PM »
For example, two red cubes are rotated the same

But one has 0, 0, -50 rotation, other has 140, 90, 90.

Whatever i choose, quaternion, euler, x, y, z, i can only get it right via gizmo. It's like it's missing one more axis.

The only thing is that the object that should rotate is scaled differently, it is elomgated to 2 via x. How to take that into account? Maybe get the direction?

PlayMaker Help / Re: Get Rotation Problem
« on: January 19, 2020, 08:55:34 AM »
I tried setting the rotation then getting it.

When using euler angles instead of 0, -20, -90 i get -5.12243e-05, 340, 270.

PlayMaker Help / Get Rotation Problem [SOLVED]
« on: January 18, 2020, 02:26:17 PM »
Hi guys,

I'm doing some 3D for the first time, though i'm doing well there's something i can't figure out. I have an object that's not parented to anything and has rotation 0, 0, -15 set via transform in the inspector.

However, when i use Get Rotation to get its rotation i get something like -270, 0, 0. I tried self world, eulers, quaternions, tons of other actions, delaying the start and so on but i still can't get it the way it is displayed.

Any advice?

Pages: 1 [2] 3 4 ... 67