-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a CanDeploy check to Transform at FrameEndTask #20527
Conversation
won't it still show the undeploy animation? or is that no issue? it will just not deploy at the end? |
Oh I just realised. MCV doesn't have a deploy animation so actually I'm unsure. The animation might play but the unit won't transform. We can't do much about this, it's a choice. Do we want the transform always after the animation stops playing or only if it's viable? I see 3 options
Skipping the check would be as simple as passing a null into the DoTransforms() so on a technical level each option is a clean solution. Though customisation might be a bit messy considering so many traits use this activity. FWIW I'm fine with the current state of the PR |
I made it so when after playing the make animation deploying is invalid, it plays it in reverse The testcase is a bit misleading because this is the Construction Yard's make animation and not the MCV's, so it's reversed. But it's enough for testing Screen.Recording.2022-12-09.at.14.48.36.mov |
Confirmed that this still works. ✅ Btw, you can define
to fix the animation for the testcase. |
51daebd
to
5d4e25f
Compare
Can you remove the test case? 62321f1 |
dropped the testcase |
Closes #13984