SettleAnim and FoundationFlourish both write Transform.scale on king card — undefined visual result #28
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
File
solitaire_engine/src/feedback_anim_plugin.rslines 344–365 (tick_settle_anim), 557–587 (tick_foundation_flourish)Description
When a King card completes the foundation pile,
start_settle_animinsertsSettleAnimandstart_foundation_flourishinsertsFoundationFlourishon the same entity. Bothtick_settle_animandtick_foundation_flourishwrite totransform.scaleevery frame with no ordering constraint. Whichever system runs last wins each frame, producing visually undefined scale behavior during the 0.15-second settle window.tick_settle_animwrites onlytransform.scale.y;tick_foundation_flourishwrites the fullVec3— the partial write fromtick_settle_animis silently discarded.Fix
Add
.before()/.after()ordering sotick_settle_animalways runs aftertick_foundation_flourish, or guardstart_settle_animfrom insertingSettleAnimwhenFoundationFlourishis already present.