View Single Post
09/05/18, 04:51 AM   #5
Cardinal05
AddOn Author - Click to view addons
Join Date: Feb 2018
Posts: 33
Originally Posted by sirinsidiator View Post
Isn't that what HousingEditorGetFurnitureLocalBounds should return? It should tell you how big the item is in it's local frame of reference.
What seems to be missing is a function GetFurnitureDataLocalBounds(furnitureDataId) to get the bounds of a furniture before it is placed. Otherwise you cannot position it perfectly right from the inventory. Or maybe I just didn't see it?
I just reread your original message and realized that I had misinterpreted it. I actually had no idea that's what this function did - I thought that it returned the bounding box's coordinates in a different unit measure relative to the current map location. Yay, then this is exactly what I needed - thank you Siri! <3