Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: gbhosl on October 31, 2018, 05:07:48 AM
-
Hey guys, I am fairly new to Playmaker and I have met with a problem:
Currently, I am trying to use a stick to collide with buttons with trigger events, and I have a total of 3 buttons, lets call them A, B, and C.
Naturally, what i want is when the stick touches button A, the actions in event A happens
But the problem I am having is that when stick touches A or B, it only runs the actions in event C.
-
Hi,
There is a lot of confusing things here.
- what do you mean by "stick", is it a joystick or a 3d object in your scene?
- Event are not actions, so I guess you mean that when stick touches button A, you want to send the event A which will execute the actions on Event A state right? can you confirm?
what technic do you use to catch that your stick has touched button A or B? can you make screenshots of your fsm and gameobject inspector?
Bye,
Jean
-
Sorry for not clarifying :P
- The stick is a 3d object in the scene
- Yes that is exactly my intention, but it isn't working right
-
Hi,
your screenshot is not showing how you have setup the collision trigger, so I can't say for sure what's not setup correctly :) can you take the full stats stack of actions?
Bye,
Jean
-
Is this what you mean?
Sorry I'm not too familiar with the names and labels of the program
-
Hi,
no :) it's your first screen shot where you have the trigger event action disable and the collision trigger action enabled, I don't see the bottom of it so I don't know how you have plugged the event.
don't worry, we'll get to the bottom of this.
Bye,
Jean
-
Ahh ok, here's the screenshot
Thanks for being patient :D
Edit: Short update, I went ahead and trial-and-errored the buttons by deactivating 2 while leaving the other active, and I found out that all the buttons work as intended, where button A goes to result A and so on, but when I activate more than 1 button, it starts to not work properly.
-
So is it solvable?
-
Hi,
yes, it is definitely solvable.
You should go back to a simple scene, make one button, then another and work your way into the final setup.
bye,
Jean