mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-10-29 04:24:07 -07:00
Add Endemic Life Head Tracking
This commit is contained in:
1 parent
30d858b1f8
commit
d4c52617d9
6 files changed
+107
-10
No files matched your search
@@ -86,7 +86,12 @@ function this.draw()
|
||||
cached_config.world_offset.z
|
||||
);
|
||||
|
||||
local position_on_screen = draw.world_to_screen(creature.position + world_offset);
|
||||
local position_on_screen;
|
||||
if cached_config.settings.head_tracking then
|
||||
position_on_screen = draw.world_to_screen(creature.head_position + world_offset);
|
||||
else
|
||||
position_on_screen = draw.world_to_screen(creature.position + world_offset);
|
||||
end
|
||||
|
||||
if position_on_screen == nil then
|
||||
goto continue;
|
||||
|
||||
Reference in new issue
Block a user