[GH-ISSUE #3008] Phantom hitbox is off #775

Closed
opened 2026-11-02 15:41:49 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ludovic111 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3008

Version: v0.2.91 · OS: CachyOS x86_64, AMD Ryzen 9 9950X3D (32) @ 5.76 GHz, NVIDIA GeForce RTX 5090 [Discrete] (copied from the report)

What I did: Spawn phantom entity
What happened: When showing hitboxes, the hitbox of phantom entity is off by about one block
What I expected: Hitbox should be inside the entity, not below it
Horizon version: v0.2.91
OS, CPU, GPU: CachyOS x86_64, AMD Ryzen 9 9950X3D (32) @ 5.76 GHz, NVIDIA GeForce RTX 5090 [Discrete]

Reported on Discord by patrick in #horizon-bugs · Discord thread
Tags: gameplay
Kira's search found an open issue that might be related: #2885 (the reporter didn't say).

Attachments (Discord links expire after a while; the thread keeps them)

Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.

Originally created by @ludovic111 on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/3008 **Version:** v0.2.91 · **OS:** CachyOS x86_64, AMD Ryzen 9 9950X3D (32) @ 5.76 GHz, NVIDIA GeForce RTX 5090 [Discrete] <sub>(copied from the report)</sub> > What I did: Spawn phantom entity > What happened: When showing hitboxes, the hitbox of phantom entity is off by about one block > What I expected: Hitbox should be inside the entity, not below it > Horizon version: v0.2.91 > OS, CPU, GPU: CachyOS x86_64, AMD Ryzen 9 9950X3D (32) @ 5.76 GHz, NVIDIA GeForce RTX 5090 [Discrete] Reported on Discord by **patrick** in #horizon-bugs · [Discord thread](https://discord.com/channels/1559227979002028052/1564767279479259196) Tags: gameplay Kira's search found an open issue that might be related: #2885 (the reporter didn't say). **Attachments** (Discord links expire after a while; the thread keeps them) - [image.png](https://cdn.discordapp.com/attachments/1564767279479259196/1564767279848104088/image.png?ex=6ae27697&is=6ae12517&hm=4835f53b5d59b770446ff86d4c4e2283edbbd109204f6bf598b876fc3f4dcea2&) <sub>Opened by Kira from Discord. Replies from the reporter in the thread are added here as comments.</sub><!-- kira -->
bsakaguchi 2026-11-02 15:41:49 +07:00
Author
Owner

@kacpherek commented on GitHub (Oct 29, 2026):

Likely cause, from the port ledger's verdict map (#3139, tracked in #3519): phantom size is never read. PhantomRenderer.scale has no port (vanilla draws a phantom at 1 + 0.15 * size) and PhantomRenderer.extractRenderState ignores the size, so larger phantoms are drawn, and possibly sized, like size 0.

<!-- gh-comment-id:6488866202 --> @kacpherek commented on GitHub (Oct 29, 2026): Likely cause, from the port ledger's verdict map (#3139, tracked in #3519): phantom size is never read. `PhantomRenderer.scale` has no port (vanilla draws a phantom at `1 + 0.15 * size`) and `PhantomRenderer.extractRenderState` ignores the size, so larger phantoms are drawn, and possibly sized, like size 0.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#775
No description provided.