I have adjusted a transition carefully to make it has a smooth transition, it should “start about 90% end to 120%”. See attached t1.png.
But if I click anywhere other object and back to this transition, it automatically changed to “50% ~ 80%”, (see t2.png) I have spent hard time to adjust it to “90%~120%” to make it looks smooth and great, but why Unity make it back to “50% ~ 80%” without my permission?
I know you may say use “Exit time” parameter, it will not rebound. But I have my own “cancel” parameter, also “Exit time” is hard to implement a range check.
So, is there any way to make a fixed transition time showing on my editor? I don’t want to re-adjust the timing every time when i want to check the transition effect. This is really annoying.
You have your own “cancel” parameter so that means that the transition can happen at anytime when in “combo1” state and “cancel == 1”. So you understand that whatever you set the transition to start in the UI will only be an indication of what the transition would look like if the cancel parameter was turned On at that given time.
Maybe what you want to do is set 2 conditions, the “if cancel is 1” AND is “exit time is 0.9”. In order to to that simply add another Condition using the little + at under the parameter box.
ExitTime is a specific type of Condition that will make sure the transition will happen when the 90% is reached ( ie during the frame, time went from before 90% to after 90%)
If you really absolutely want to do range check ( ie between 20% and 40%) what i would suggest is feeding back the CurrentStateTime as a Parameter to the controller. We want to support this better latter, but for now its the best I can suggest.
Thanks for the reply. I agree with you at most part, But I guess there is no any logical reason to fix it to 50% if a user has set it to 90%.
ExitTime is a specific type of condition, that is OK. Also developer will provide many specific conditions too, lets assume a developer make a transition start from 90%, he/she must has his/her reason, right? So why make it back to 50% without permission. If we need 50%, we can make it by ourself, even if it is only just look like. I can not find any convenience with this feature, is it just to tell developer : it back to 50% means it will happen at anytime? not make sense, it is not true since developer may has their own conditions for timing.
Im reading and re-reading you post. Im not sure I understand your point. What im saying, is that if you dont explicitely set an ExitTime in your conditions, any starttime setting that you will set in the transition previewer will not be persisted ( of course!, since by telling the system that you dont have an ExitTime, you say that the transition can occur at anytime!). Whenever you need the transition to start at a specific time, simply add an ExitTime condition and move the markers in the UI ( you will see that the ExitTime value will change!)
And again, as ive said. the thing that we know that we are missing is the ability to natively specify a window of exitTime. We will offer that in the future ( for now you can do it by feeding back the curentStateTime, but the UI will not follow that information)
Hi pp, i see that you really do not understand me, my english is not good, i give another try to make a short sentence hope you can understand:
What a user have set in the UI, please keep it, do not change it.
And also… why wouldn’t I want this feature, even if I set a condition to true? It would still be great to have this transition position respected as part of the condition.
“If x = 1, please make a transition when allowed to” (by the slider setting). Just a simple checkbox would do: “Always respect transition position!!!”
Please look at my original thread to see why this would be useful. Example: I have two pathways to a given state. Through state “x”, and through state “y”. Both these pathways will trigger, when z = 2. But which one it will follow is decided by the first start position in the slider setting. So the transition won’t occur instantly, but will wait for the first start position of a transition. Very useful.
Again, what you have is just confusing as hell, as you can change it, and it seems to work (the new position is updated), and then, when you click away, and then click again, it will be reset to 50%. At the very least lock it, if it is indeed locked…
Resurrecting a zombie, but after playing with those 2D tools and fighting this, I just can not help myself I think that exit time should be treated differently. Throwing some indication there, that those nice crossfades will not work if you switched that default exit time to something else would not hurt. Or instead of exit time have switch named “Turn Off crossfades” on that transition view or something. Hope I do not misunderstand something XD
And that should be answer to this question. Add exit time and your other conditions. Click that plus