Playmaker Forum

Playmaker News => General Discussion => Topic started by: westingtyler on April 01, 2016, 01:45:52 AM

Title: Needed: Action to get an object's "bound box size/dimensions"
Post by: westingtyler on April 01, 2016, 01:45:52 AM
I want the player to place down objects, but not if they are blocked. I figure the best way is to place detector game object nulls around the box of the main object and raycast from the center of the object to them to see if they are clear.  But to know how to place these "bounding game object empties" I need to know the dimensions of the game object. Is there a script for "get bounding box dimensions"?
Title: Re: Needed: Action to get an object's "bound box size/dimensions"
Post by: dudebxl on April 01, 2016, 01:05:52 PM
I am very sure you have options in ecosystem. have you checked?
Title: Re: Needed: Action to get an object's "bound box size/dimensions"
Post by: jeanfabre on April 12, 2016, 01:56:14 AM
Hi,

 I made it last week:) it's on the Ecosystem (http://j.mp/PlayMakerEcosystem): GetColliderBound

https://twitter.com/JeanAtPlayMaker/status/717981725876482048


Bye,

 Jean