playMaker

Author Topic: get the dimensions of a meshed game object?  (Read 2564 times)

westingtyler

  • Sr. Member
  • ****
  • Posts: 277
    • My Video Game Projects Web Site
get the dimensions of a meshed game object?
« on: August 11, 2016, 12:41:54 AM »
I want to get the world dimensions of a game object so I can set another object to fit it. like a picture frame auto resizing to fit whatever photo object I put on the table.

Is there any way to do this, to get an object's xyz dimensions? Not just scale, but its actual size.

I tried looking into the Rect variable... but i got the feeling that is related to arrays or something, not to actual physical rectangles in the scene.