Skip to content

Still allow subsystem animations in the lab#6898

Merged
JohnAFernandez merged 1 commit into
scp-fs2open:masterfrom
MjnMixael:fix_lab_animations
Aug 4, 2025
Merged

Still allow subsystem animations in the lab#6898
JohnAFernandez merged 1 commit into
scp-fs2open:masterfrom
MjnMixael:fix_lab_animations

Conversation

@MjnMixael

Copy link
Copy Markdown
Contributor

PR #6715 added the ability to test docking and undocking the lab which required initializing the ai subsystem in the Lab as well. Doing that had a side effect of causing the current ship to move around on it's own. To solve that a Play-Dead order was issued. That had a side effect of causing subsystem rotations/translations to stop running as that is a design of Play-Dead.

Stay-Still didn't really work well on fighters in the Lab because they still wiggled around. So the options were to either constantly reset the current object's orientation every frame or just carve out a special case for the Lab to still run subsystem animations even during Play-Dead. The latter turned out to be the easiest and less hacky.

Fixes #6897

@JohnAFernandez JohnAFernandez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved

@JohnAFernandez JohnAFernandez merged commit 8d2895d into scp-fs2open:master Aug 4, 2025
20 checks passed
@MjnMixael MjnMixael deleted the fix_lab_animations branch August 4, 2025 03:59
@MjnMixael MjnMixael mentioned this pull request Aug 4, 2025
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.

Option Rotate/translate subsystems in F3 Lab doesn't work since nightly 20250613

2 participants