[DiscordArchive] what change does it make to have this https://github.com/TrinityCore/TrinityCore/pull/29494?
[DiscordArchive] what change does it make to have this https://github.com/TrinityCore/TrinityCore/pull/29494?
Archived author: Telegrill • Posted: 2024-02-25T17:44:31.046000+00:00
Original source
what change does it make to have this https://github.com/TrinityCore/TrinityCore/pull/29494?
[Embed: Core/Units: update the splines that are being initialized in Unit::...]
Changes proposed:
The Unit::SetFacing methods do initialize splines which take one update tick to apply their effects. However, in many scripted situations creatures do face their target and cast a...
https://github.com/TrinityCore/TrinityCore/pull/29494?
Archived author: Telegrill • Posted: 2024-02-25T17:46:19.339000+00:00
Original source
ah wait, the tick to update facing is supposed to be ignored if we're using SetFacing helpers?
Archived author: Northstrider • Posted: 2024-02-25T18:06:46.019000+00:00
Original source
the issue was that the spline needed one update tick to apply the facing change. so if you call SetFacing methods and you wanna perform an action that requires an updated angle, you couldn't do that within the same update tick
Archived author: Telegrill • Posted: 2024-02-25T18:28:44.390000+00:00
Original source
does it apply to spells?
Archived author: Telegrill • Posted: 2024-02-25T18:29:23.396000+00:00
Original source
not sure currently how spells handle facing, if through that method or SetOrientation
Archived author: Telegrill • Posted: 2024-02-25T18:29:30.542000+00:00
Original source
not on the pc atm