Jump to content

Get Bounding Box Size of a prefab


mrsquish

Recommended Posts

Hey All,

 

I'm working on an app to do my own random gen implementation. Currently I'm playing with noise generation and adjusting the prefab location (bringing them up to the correct ground level). But obviously, the generated ground isn't flat, and it needs to be where ever a prefab is located. Not a particularly difficult thing to code, but I don't know two things.

 

1 - Where can I find the dimensions of a prefab (x, y, z) - particularly x and z at the moment.

2 - How does the rotation in the prefab.xml relate to N, S, E, W?

 

Cheers all.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...