Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: gamesonytablet on September 05, 2012, 09:11:43 AM

Title: Physics.OverlapSphere in Action Browser ... any suggestions?
Post by: gamesonytablet on September 05, 2012, 09:11:43 AM
Hi, I've been using Playmaker to replace C# scripts, and I'm having trouble trying replacing code originally using Physics.OverlapSphere.

// I use OverlapSphere to quickly get a list of enemies within a certain radius
arrayList = Physics.OverlapSphere(this.transform.position, 3, layerMask);

Looking through the Action Reference in the Physics category, "Get Collision Info" is closest, but not enough.

Can someone tell if I'm missing something, or a clue on how to work around this?
Title: Re: Physics.OverlapSphere in Action Browser ... any suggestions?
Post by: LoneCipher on August 26, 2013, 06:48:36 PM
Bump? Any new suggestions?
Title: Re: Physics.OverlapSphere in Action Browser ... any suggestions?
Post by: jeanfabre on September 10, 2013, 02:50:33 AM
Hi,

 Here we go:

http://hutonggames.com/playmakerforum/index.php?board=19.0

 I made this new custom action to match your need, as I think using simply sphere cast would not give the same result.

 If you have trouble implementing this let me know.

 Bye,

 Jean