Thread: Update 6.2
View Single Post
11/03/20, 05:05 PM   #12
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
Originally Posted by AlbinoPython View Post
Sorry if I missed it, does GetUnitRawWorldPosition return the position in any particular units? And when we say 'RawWorldPosition' is that just the position in the current zone?
Same as the regular world position. Just that the coordinates returned by GetUnitWorldPosition are actually remapped so that the world appears to be one consistent space (e.g. when you enter a house). This function on the other hand will return coordinates that haven't been transformed and reflect the actual position in the 3d space of the level data.
In other words, it won't be useful for most authors.
  Reply With Quote