The invention relates to the technical field of computers, and discloses a real-time role
animation generation
system and method based on
motion capture and game state response, and the method comprises the steps: receiving and analyzing a skeleton posture
data stream through a
motion capture input module; the game state monitor captures and encodes a state event vector; the state sensing
hybrid controller dynamically allocates weights according to state events and mixes
motion capture and preset
animation data; and the
inverse kinematics real-time correction module performs physical
compliance check and correction on the preliminary mixed attitude. The
system comprises a motion capture input module, a game state monitor, a motion buffer
queue, a state
perception hybrid controller, a reverse
kinematics real-time correction module and an
animation output interface. According to the method, seamless fusion of the motion capture data and the preset animation data can be realized, animation tearing and joint model penetration are avoided, the limb
tail end position is ensured to accord with environmental constraints, the single-frame
processing time is controlled within 8 milliseconds, and the high-frame-rate real-time rendering requirement is met.