playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Fsm in one object to trigger another FSM on collision
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Fsm in one object to trigger another FSM on collision (Read 1163 times)
zard
Playmaker Newbie
Posts: 1
Fsm in one object to trigger another FSM on collision
«
on:
January 01, 2023, 01:36:15 PM »
Hello,
I have tried to look for this on the forum but cant find answer.
I have two objects and each have their own FSM. The first FSM is triggered by a mouse click and moves towards the other one. I like the object's FSM to be triggered when they collide but this doesn't happen. Does anybody know how to get over this issue?
Thank you
Logged
Kaikoura
Playmaker Newbie
Posts: 23
Re: Fsm in one object to trigger another FSM on collision
«
Reply #1 on:
January 02, 2023, 06:58:51 AM »
Hey,
You can use the "collision event" action.
it sends an event if it detects an collision between colliders.
hope that helps, if not, specify your question a bit more.
Logged
djaydino
Administrator
Hero Member
Posts: 7618
Re: Fsm in one object to trigger another FSM on collision
«
Reply #2 on:
January 02, 2023, 11:36:21 AM »
Hi.
Also make sure that one of the objects has a rigidbody(2D)
Logged
Join the PlayMaker Discord Channel!
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Fsm in one object to trigger another FSM on collision