Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Byromaniac on November 22, 2015, 03:11:43 AM
-
I've tried everything I can think of. The tags are all correct and I've tried it w and w/o rigidbodies, but no my triggers never seem to work properly. They are spotty if working at all. ATM I have objects spawning randomly around a plane and to avoid objects being placed in the same spot, I just wanna destroy it if it hits the trigger, and yet it just just doesn't seem to recognize the trigger..am I doing something wrong?
-
are you sure the object moving into the trigger has a collision box?
-
... and a Rigidbody
-
Did you check "Trigger" on the physics component. Did you create a separate layer for the trigger and then change what layer the trigger can detect in Edit>Project Settings>Physics
-
Yup they have a box, and Rigidbody. I did not try changing the layer. Currently its on the default. I'll try that
-
Tried changing layer and settings. No luck. Works when I code it out, just wanna use playmaker cuz I basically stumble my way through coding. lol
-
worked when I turned off gravity....
-
Are you spawning objects into the trigger? If so, try using both onenter, and onstay.