FancyInnovations / FancyInnovations/FancyPlugins

Bug: turn_to_player doesn't take into account NPC scale

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
FancyNpcs Priority: Low Status: Pending Type: Bug
Dominant language
Java
Stars
88
Forks
109
PR merge metrics
No merged PRs in 30d

Description

### In which plugin has the error occurred?

FancyNpcs

### What happened?

if you scale an NPC (smaller or bigger) and enable `turn_to_player`, the NPC's yaw and pitch calculations will be done as if the NPC was at scale 1, causing it to look too far down when smaller and too far up when bigger.

![Image](https://github.com/user-attachments/assets/c9af197a-618d-455d-9549-b0711f4c25d9)

### In which software has the error occurred?

Paper

### Plugin version

2.5.0

### Server version

1.21.4

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.