playMaker

Author Topic: Needed: Action to get an object's "bound box size/dimensions"  (Read 1997 times)

westingtyler

  • Sr. Member
  • ****
  • Posts: 277
    • My Video Game Projects Web Site
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"?

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: Needed: Action to get an object's "bound box size/dimensions"
« Reply #1 on: April 01, 2016, 04:05:52 PM »
I am very sure you have options in ecosystem. have you checked?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Needed: Action to get an object's "bound box size/dimensions"
« Reply #2 on: April 12, 2016, 04:56:14 AM »
Hi,

 I made it last week:) it's on the Ecosystem: GetColliderBound

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


Bye,

 Jean