AI_LookAtNpc is rotating head awkwardly for Troll

Offen
#351 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
csharp, unity
Bereich
game-dev

Rechercherichtung

Start with GUZ.Core.Domain.Npc.Actions.AnimationActions.LookAtNpc.Start() and follow the behavior into GUZ.Core.Animations.NpcHeadAnimationHandler.LateUpdate(). The report identifies two problems: look-at behavior may continue while a monster turns toward the player, and some monsters such as the troll rotate incorrectly. Reproduce both cases in game and consider the issue resolved when the behavior stops appropriately and the troll’s head rotation looks correct.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug
Description

GUZ.Core.Domain.Npc.Actions.AnimationActions.LookAtNpc.Start() --> GUZ.Core.Animations.NpcHeadAnimationHandler.LateUpdate() has two issues:

  1. It seems, that we don't stop the look at, even when a monster is already rotating towards us --> Maybe it's a normal AnimationAction which should always stop when returning "true" for stopping?
  2. The rotation is wrong for some monsters. Look at this troll:
Image
Vorherrschende Sprache
C#
Sterne
33
Forks
1
Ø Merge
1 T. 21 Std.
Gemergte PRs (30 T.)
56

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Gothic-Unity-Project/Gothic-Unity

Alle Issues in Gothic-Unity-Project/Gothic-Unity

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.