Closed foxtacles closed 11 years ago
required: validation if coordinates are valid in interior cell
I digged a little in the esm. Apparently, the interiors don't have a position, and it makes sense: every interior is like a "parallel world", where you are teleported in it. So the interior doesn't have a position, the environment has, so you can guess the valid positions checking the items in it.
This is what i found and guessed from my researches.
Thanks. I guess we can extract the interior boundaries by checking all the object positions of an interior with some algorithm
You already have all the references in the REFR export. Can i help parse this data to find the "center" of the interior?
sure, that would be awesome. I don't know the math algorithm, but it should be possible to determine a sphere or box which contains all objects in that interior. then we can use the boundaries of the sphere / box to validate coordinates
2013/6/24 roby65 notifications@github.com
You already have all the references in the REFR export. Can i help parse this data to find the "center" of the interior?
— Reply to this email directly or view it on GitHubhttps://github.com/Foxtacles/vaultmp/issues/103#issuecomment-19928027 .
Christian Semmler http://www.foxtacles.com/
Currently, we don't have information about the valid coordinates of interior cells. We have that information for exteriors. We need it for interiors too, to prevent a bug that players become invisible in some cases. I've already looked around in the ESM but I can't find any information regarding coordinates of interior cells