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

Pages: 1 2 [3] 4 5
I have gotten this problem that seems to be that Get FSM variables is locked to get data from the first FSM it is set to during runtime.

I have a setup there I have 1 FSM for each stage with data. Then I do a stage transition by triggering a FSM that gets data from the correct stage FSM. I have the stage FSM name set in a string variable, however, no matter what the string changes to after the first time triggered, it will keep accessing the first FSM that was triggered and only that one. I have even tried to remove the string and enter the FSM manually but it doens't matter what the name is, it will only get data from the first one triggered.

So my question is if any of Get FSM variable types actions gets locked to 1 FSM during runtime?

PlayMaker Help / Re: Check if FSM has variable
« on: January 21, 2019, 11:47:39 AM »
Perfect, thanks a lot.

PlayMaker Help / Check if FSM has variable [SOLVED]
« on: January 20, 2019, 10:10:44 AM »
I want to do a check to see if a FSM has a certain variable. Then I want to send an event depending on if it does or doesn't. How can I do this?

That's excellent. That's what I was looking for. Thanks a lot man.  ;D

Yeah, that's what I tried to do, but it's at that point it gets tricky for me.  :-\


Um, I don't think you understand. I can't drag the object because it is stored in a variable. It's unknown, otherwise it would been really easy.

Thanks, the GetBoxColliderSize should work, but for future reference, how do you use GetProperty with a GameObject variable? Can you give me an example how to store a variable from a component on an unknown object?

I want to get the X size of a box collider on the object that is currently stored in a GameObject variable. How do I do that?

PlayMaker Help / Re: ProCamera2d parallax speed action
« on: July 03, 2018, 12:09:31 PM »
Bump again, this is a bit important.

PlayMaker Help / Re: ProCamera2d parallax speed action
« on: June 27, 2018, 08:15:38 AM »

PlayMaker Help / ProCamera2d parallax speed action
« on: June 24, 2018, 06:18:55 AM »
I want to change the speed the cameras scroll at with ProCamera2d parallax, but there is no such value when I try the SetProperty action.
Is this possible?

Well, the way I did it was, first, checking the kinematic button on your character, then creating a FSM for moving your character using translate on fixed update.

Translate moves your character a fixed distance on every update so you need to figure out a system that mimics gravity and acceleration on the XY axis, things that the Unity physics engine is supposed to do for you. I can't tell you how to do that though since it's specific for what you need. I use a variable that stores a desired "fake velocity" number when you press left or right, then I divide it to a very small number and set it on translate X axis.

But for me this way gave me consistent jump heights and other physics things during low frame rates.

There will be a check box on the actions that are able to do their thing in fixed update.

Remember though that if you move your character using Unitys physics engine it will always move it outside of fixed update even if the action is set to fixed. This will cause a difference in movement at different frame rates (it's ass for precision, don't use it). If you check kinematic in the rigid body settings and your character does not move, then you are using the physics engine to move it.

PlayMaker Help / Re: Make a FSM run another FSM
« on: June 20, 2018, 02:05:22 PM »
Right, thanks.

Pages: 1 2 [3] 4 5