playMaker

Author Topic: Get Next Physics Overlap Box  (Read 2978 times)

MS80

  • Junior Playmaker
  • **
  • Posts: 64
Get Next Physics Overlap Box
« on: May 07, 2016, 06:23:40 PM »
I could not find a action for Physics.OverlapBox, so here it is!

The attached action is a modified version of "GetNextPhysicsOverlapSphere", it takes object box dimension (halfExtent = Half of the size of the box in each dimension.) and orientation into account.
« Last Edit: May 07, 2016, 06:42:02 PM by MS80 »

Graham

  • Sr. Member
  • ****
  • Posts: 333
  • I Love Playmaker!
    • Portfolio
Re: Get Next Physics Overlap Box
« Reply #1 on: June 06, 2016, 12:31:52 AM »
Thanks MS80, this has come in very handy!
More templates on the Unity Asset Store!

Disclosure: We are using affiliate links to our assets; we may receive a commission for purchases made through them. This helps us to continue developing and maintaining great products!