A state control method comprising: obtaining, by a server, first configuration information, wherein the first configuration information is used for indicating state nodes, behavior tree nodes, and a state change relationship, the state change relationship comprises a state change relationship between the state nodes, a state change relationship between the behavior tree nodes, or a state change relationship between a state node and a behavior tree node; generating, by the server, a hybrid state machine for a first object according to the first configuration information, wherein the hybrid state machine comprises the state nodes of a finite state machine and the behavior tree nodes of a behavior tree to jointly control the first object in a first application to perform an operation, wherein the first configuration information is information based on which the hybrid state machine is generated for the first object, the first configuration information comprising a quantity of state nodes in the hybrid state machine, a quantity of behavior tree nodes in the hybrid state machine, a conversion condition between the state nodes in the hybrid state machine, a conversion condition between the behavior tree nodes in the hybrid state machine, a conversion condition between a state node and a behavior tree node in the hybrid state machine, an operation in a state corresponding to a state node in the hybrid state machine, an operation in a behavior tree corresponding to a behavior tree node in the hybrid state machine; detecting, by the server, an operation execution event, the operation execution event being used for requesting to operate the first object, wherein the operation execution event includes a current node on which the first object in the hybrid state machine is located or includes a next node to which the first object is converted after an operation corresponding to the current node is performed, and wherein when triggered by the operation execution event, the first object in the first application is converted from the current node to the next node in the hybrid state machine, the next node being a state node or a behavior tree node; determining, by the server, whether the next node of the current node is a first state node or a first behavior tree node according to the operation indicated by the detected operation execution event, wherein if the next node is a first state node, performing, by the server, the operation on the first object, the operation being included in a first state corresponding to the first state node; and if the next node is a first behavior tree node, performing, by the server, the operation on the first object, the operation being included in a first behavior tree corresponding to the first behavior tree node. obtaining, by a server, first configuration information, wherein the first configuration information is used for indicating state nodes, behavior tree nodes, and a state change relationship, the state change relationship comprises a state change relationship between the state nodes, a state change relationship between the behavior tree nodes, or a state change relationship between a state node and a behavior tree node; generating, by the server, a hybrid state machine for a first object according to the first configuration information, wherein the hybrid state machine comprises the state nodes of a finite state machine and the behavior tree nodes of a behavior tree to jointly control the first object in a first application to perform an operation, wherein the first configuration information is information based on which the hybrid state machine is generated for the first object, the first configuration information comprising a quantity of state nodes in the hybrid state machine, a quantity of behavior tree nodes in the hybrid state machine, a conversion condition between the state nodes in the hybrid state machine, a conversion condition between the behavior tree nodes in the hybrid state machine, a conversion condition between a state node and a behavior tree node in the hybrid state machine, an operation in a state corresponding to a state node in the hybrid state machine, an operation in a behavior tree corresponding to a behavior tree node in the hybrid state machine; detecting, by the server, an operation execution event, the operation execution event being used for requesting to operate the first object, wherein the operation execution event includes a current node on which the first object in the hybrid state machine is located or includes a next node to which the first object is converted after an operation corresponding to the current node is performed, and wherein when triggered by the operation execution event, the first object in the first application is converted from the current node to the next node in the hybrid state machine, the next node being a state node or a behavior tree node; determining, by the server, whether the next node of the current node is a first state node or a first behavior tree node according to the operation indicated by the detected operation execution event, wherein if the next node is a first state node, performing, by the server, the operation on the first object, the operation being included in a first state corresponding to the first state node; and if the next node is a first behavior tree node, performing, by the server, the operation on the first object, the operation being included in a first behavior tree corresponding to the first behavior tree node.