playMaker

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

westingtyler

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • My Oculus Rift + Touch VR Game Using Playmaker
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
    • View Profile
Re: Needed: Action to get an object's "bound box size/dimensions"
« Reply #1 on: April 01, 2016, 01:05:52 PM »
I am very sure you have options in ecosystem. have you checked?

jeanfabre

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

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

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


Bye,

 Jean