alRex-U / alRex-U/ParCool

Dodge + better third person

Aperta
#383 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug compatibility request
Lingua principale
Java
Stelle
131
Fork
62
Merge medio
1g 2h
PR unite (30g)
2

Descrizione

**Summary**
Better Third person overwrites player.input values, messing up dodge movement vector projection.

**Running Environment**
+ Minecraft Version: every one supported
+ ParCool Version: latest
+ Forge Version (optional):

**Detail**
I intend to open a PR with a fix, I'm opening this issue to discuss the idea.

What I thought we could do to fix that is to, at each tick the action/animation is being done, if better third person is active, we can adjust the dodge vector rotating it to match player's yaw. This adjustment would consist in creating a new vector considering what is left to reach the end of the previous one, but rotating it accordingly. This maybe 's enough to give a smooth dodge trajectory. As normally the time for turning is pretty low.

What do you think of this idea?

**Additional Data**
Such as Screenshots or Crash Reports
(I am happy and fix the bug more easily if you send me these)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.