mrsquish Posted March 19, 2019 Share Posted March 19, 2019 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 More sharing options...
Shimrod201 Posted March 21, 2019 Share Posted March 21, 2019 I don't know where to find the dimensions. The rotation gives the direction the front of the prefab is facing: 0 is South 1 is East 2 is North 3 is West Link to comment Share on other sites More sharing options...
mrsquish Posted March 22, 2019 Author Share Posted March 22, 2019 Thanks mate, I should be able to find the answer to the size by reading the code, when I get a chance. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.