the answer is that we have to pass all of the data into transition function except for the previous state.
behavior planning——inputs to transition functions
原文:https://www.cnblogs.com/fuhang/p/8983794.html