A method for training a virtual animal to move based on control parameters comprises a imitation learning stage and a control adaptor stage. The imitation learning stage includes obtaining a first momentum, a second momentum, a current state and a target state of a reference animal associated with the virtual animal, analyzing the first and second momentum to generate a plurality of primition distributions by a primitive network, and training a first gating network according to the current state and the primitive distributions to generate a first primitive influence to convert the current state to the target state. The control adapter stage includes obtaining a control parameter set, training a second gating network to generate a second primitive influence according to the current state and the primitive distrubutions to convert the current state to a combinational state of the current state and the control parameter set, and generating a result accoding to the first and second influences by a discriminator to update the second gating network.
Method for training virtual animal to move based on control parameter