You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[contra] Custom Amphibious Units tilt downwards into water. #3395
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.
Prerequisites
Game Version
Bug Description
Reproduction Steps
choose superweapon general; futuristic path from commandcenter
build centurion tank; go to water
Additional Context
No response