Skip to content

Fix Animation shadow to account for height.#21646

Merged
PunkPun merged 1 commit into
OpenRA:bleedfrom
RoosterDragon:fix-shadow
Nov 30, 2024
Merged

Fix Animation shadow to account for height.#21646
PunkPun merged 1 commit into
OpenRA:bleedfrom
RoosterDragon:fix-shadow

Conversation

@RoosterDragon
Copy link
Copy Markdown
Member

If a unit is above the terrain, the shadow shouldn't display directly underneath the unit, it should take the height into account and display further down. This fix uses the same adjustment as applied by the WithShadow trait.

Supersedes #21378

Tescase: Carryall carrying a Juggernaut in TS.

Bleed:
image

PR:
image

If a unit is above the terrain, the shadow shouldn't display directly underneath the unit, it should take the height into account and display further down. This fix uses the same adjustment as applied by the WithShadow trait.
Copy link
Copy Markdown
Contributor

@anvilvapre anvilvapre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Untested. Code wise simple change.

Copy link
Copy Markdown
Member

@PunkPun PunkPun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PunkPun PunkPun merged commit f76009d into OpenRA:bleed Nov 30, 2024
@PunkPun
Copy link
Copy Markdown
Member

PunkPun commented Nov 30, 2024

changelog

d6dba3e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants