Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Sjones on September 16, 2012, 12:30:34 PM

Title: collider bool
Post by: Sjones on September 16, 2012, 12:30:34 PM
I am not sure if this needs to be a new action however I can not think of a way to do this so.

I would like to detect if a collider (physics component) is intersecting another collider and return a bool (or to make it more helpful to other people a send event.)

Thanks
Title: Re: collider bool
Post by: jeanfabre on September 17, 2012, 03:41:12 AM
hi,

 you'll have to implement collision enter and exit and maintain a flag that indeed it collides, i am not aware of any other method,

but be carefull, Do not check for stay, this is very bad for performacnes, so i encourage to make the effort to check for collision enter and exit, it is way better.

bye,

jean