Skip to content

[contra] Custom Amphibious Units tilt downwards into water. #3395

Description

@triatomic

Prerequisites

  • I have searched for similar issues and confirmed this is not a duplicate

Game Version

  • Command & Conquer Generals
  • Command & Conquer Generals: Zero Hour
  • Other (please specify below)

Bug Description

Image TSH weekly-2026-09-25

Reproduction Steps

choose superweapon general; futuristic path from commandcenter
build centurion tank; go to water

Additional Context

No response

Activity

  1. added
    BugSomething is not working right, typically is user facing
    ⚠️ TriageIssues requiring initial review and prioritization
    on Oct 2, 2026
  2. added theissue type on Oct 2, 2026
  3. xezon commented on Oct 2, 2026

    @xezon

    How does it look in retail?

  4. triatomic commented on Oct 2, 2026

    @triatomic
    Author

    How does it look in retail?

    90 degrees above water

  5. triatomic commented on Oct 5, 2026

    @triatomic
    Author

    Fixed in contraZH by triatomic/contraZH@e9afe6ac5.

    Cause: since #1528 the drawable keeps a persistent PhysicsXformInfo. calcPhysicsXformWheels returns early when the unit is significantly above terrain, which deep water counts as, without writing pitch or roll, so the last ground tilt sticks. Retail built a zeroed info every frame and drew the unit level. The Centurion's land and water locomotors are both FOUR_WHEELS, so nothing resets the transform on the switch.

  6. reopened this on Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething is not working right, typically is user facing⚠️ TriageIssues requiring initial review and prioritization

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions