Quadruped biological animation generation method and system
By dividing the motion hierarchy and multi-level motion hierarchical structure of the quadruped biological bones, combined with reverse kinematics and spline algorithms, the problem of low efficiency in the generation of quadruped biological animation in traditional technology is solved, and high quality and Efficient animation generation.
Patent Information
- Application Number
- CN202411005182.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-07-25
Smart Images

Figure CN118887326A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and system for generating quadruped creature animation. Background Art
[0002] In recent years, with the rapid development of virtual reality technology, more and more real or fictional animals appear in virtual scenes, such as video games, movies, and virtual world simulations. In this context, animated virtual multi-legged characters such as quadrupedal creatures such as cats, dogs, horses, or any fictional multi-legged robots / creatures make these virtual worlds more realistic and vivid. The movement of these creatures is mainly affected by their morphology, because their complex anatomical structure imposes restrictions on how they can move. They move in different gait patterns and show different movement styles.
[0003] In traditional technology, the designer first designs the image of the virtual character, and then the animator gives the virtual character actions. Specifically, the virtual character's skeleton can be controlled to modify the virtual character's actions to achieve the desired action effect. Using traditional technology, it takes a long time of human-computer interaction to achieve animation generation, which has the problem of low work efficiency. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention aims to provide a method and system for generating quadrupedal creature animation.
[0005] The object of the present invention is achieved through the following technical scheme: A method for generating a quadrupedal creature animation comprises the following steps:
[0006] S1. Divide the skeleton of a quadruped into a virtual pelvic node, a foot-leg node, and a virtual pelvic-spine node according to the movement level;
[0007] The virtual pelvic node represents the spine bones directly connected to the front and rear thigh root bones of the quadruped creature; the foot-leg node represents the bone chain from the end bone of any leg of the quadruped creature in contact with the ground to the leg root bone directly connected to the virtual pelvic bone; the virtual pelvic-spine node is a bone chain consisting of the virtual pelvic bone as the endpoint and the spine bone in the middle;
[0008] S2. Calculate the swing cycle of a single leg of the quadruped and the rotation angle of each joint according to the position information of the quadruped in the virtual environment and the gait pattern input by the user; then control the phase difference between multiple legs through the gait manager to express different gaits;
[0009] S3. According to the spatial position relationship between the foot end position and the virtual environment, the optimal leg animation posture that can be reached by the foot end is iteratively solved through the inverse kinematics algorithm to ensure that the leg is always in contact with the ground and does not penetrate the model; the foot knee joint is rotationally constrained according to the biological structure, and for creatures with anti-joints (knees bend backwards when contracted, such as wolves, dogs and other canines), the rotation area of the middle bone is limited according to the rotation amount of the front and rear joints to eliminate the multiple solutions of the IK algorithm;
[0010] S4. Apply the orientation rotation of the model on the horizontal plane to calculate the curvature of each spine. If the current rotation affects the virtual pelvic node, the same rotation needs to be applied to the target point generated by the gait. After determining the vertical position of the virtual pelvis of the front and rear legs, the two virtual pelvic nodes are used as the endpoints of the curve generation. Then, the tangent of each virtual pelvis in the swing direction of the two legs is used as the tangent of the endpoint of the spline. Finally, the Hermite spline curve interpolation algorithm is used to calculate the curvature of the spine. Finally, the intermediate spine is fitted with the curve to generate the final posture of the spine.
[0011] S5. According to the multi-level motion hierarchy, the motion parameters of different parts applied to key bones are calculated, and the whole body posture matching the current motion state is generated by integrating various parts.
[0012] Furthermore, in step S1, the interaction relationship between the three nodes is as follows:
[0013] The position and motion state of the virtual pelvic node are initially determined by user input and motion trend; the foot-leg node takes the corresponding virtual pelvic node as the starting point, determines the appropriate foot landing point according to the environment, calculates the leg posture, and then the leg root bone transmits the motion state of each leg to the corresponding virtual node; the virtual node state is determined by the two endpoints of the virtual pelvic-spine node, and then the intermediate bone is determined according to the spine algorithm.
[0014] Furthermore, the calculation of the rotation angle of each joint in step S2 adopts the CPG oscillation generation formula, which is as follows:
[0015]
[0016] Among them, x and y represent the current rotation value of a single joint around the x-axis and around the y-axis respectively. and They represent the movement speed along the x-axis and y-axis on the limit cycle at the current moment, r represents the disturbance of the system, r = x 2 +y 2 ; α is used to control the speed at which the oscillator converges to the limit cycle; are the radius of the limit cycle and the amplitude of the oscillator; represents the oscillation frequency of the limit cycle.
[0017] Furthermore, in step S2, the specific method of the gait manager controlling the phase difference between multiple legs is as follows: the gait pattern is constructed by the topological relationship within the foot, the gait manager is used to manage the phase difference relationship between multiple legs, the switching of different gaits is achieved by the transition of the phase difference, and the CPG oscillator formula of the associated phase of the i-th leg after the phase difference is introduced is as follows:
[0018]
[0019] Among them, u1 and u2 are external feedback inputs, which are introduced to better control the oscillation characteristics of the oscillator and make the output more adjustable; is a gait weight matrix, which uses the coordinate transformation principle so that the signal phases between different legs and joints can be generated according to the phase relationship given by the gait matrix θij (i=1,...,4; j=1,...,4, representing the phase relationship between legs);
[0020] The formula is:
[0021]
[0022] Furthermore, step S3 further includes: in each round of iteration, the inverse kinematics algorithm circulates along the foot end to the leg root bone, rotates the currently selected bone toward the target point, and the iteration exit condition is that the spatial distance between the end bone and the target point is less than the set minimum distance; for the bones that need to apply angle constraints, the relative rotation of the parent node and the child node is compared before rotation, thereby limiting the rotation angle of the specific joint;
[0023] The rotation value of an intermediate bone in each iteration is calculated as:
[0024]
[0025] θ=arcos((p e -p i )·(p taget -p i ))
[0026] Among them, p taget is the target position of the foot, which is obtained by detecting the landing point on the ground when the leg swing phase switches to the standing phase. The target position of the foot remains unchanged in the subsequent standing phase, so that the character movement animation will not slide in the world coordinates; p e is the position of the end bone, which can be obtained by forward kinematics from the spatial transformation of the parent bone on the bone chain. i Represents the initial position of the bone calculated in the current iteration, is the rotation axis of the current bone toward the target point, and θ is the expected rotation angle.
[0027] Furthermore, for the bones that need to apply angle constraints, the rotation angle of a specific joint is limited by comparing the relative rotation of the parent node and the child node before rotation. The specified joint rotation angle θ is set in the loop. i The constraint formula is:
[0028]
[0029] Furthermore, by dividing the whole body movement into foot movement, leg movement and spine movement, the connection between foot and leg movement is realized by the IK algorithm, and the connection between leg movement and spine movement is achieved by the motion parameters generated by the CPG of each leg acting on the virtual pelvis directly connected to the spine through the leg root bone.
[0030] A quadruped creature animation generation system, including the following modules:
[0031] Input module: reads the algorithm preset parameters during editing and collects input from users and the environment during runtime;
[0032] Motion state management module: responsible for storing and calculating the motion state of the character; the module is divided into a character controller and a gait manager. The character controller is responsible for the overall movement of the quadruped character, which is implemented using the capsule movement component provided by the Unreal Engine and can support the character's movement, pathfinding, and obstacle avoidance operations; while the gait manager is implemented using an improved CPG gait algorithm to manage the gait generation of multiple legs;
[0033] Animation generation module: Based on the motion state data provided by the state layer, the position of the virtual pelvis is preliminarily determined; the foot end position is determined according to the surrounding environment and the foot end target point, and the improved CCDIK is used to generate the leg posture from the leg to the foot end; based on the motion state of the character controller and the support force of the virtual pelvis provided by the gait manager in this motion cycle, the vertical position of the current pelvis is calculated; finally, the tangent between the leg root bone and the virtual pelvis is calculated, and the spline curve algorithm is applied to the middle spine with the virtual pelvis as the endpoint to generate the bone posture of the middle spine.
[0034] The beneficial effects of the present invention are as follows: the present invention realizes the block calculation of the kinematic simulation of quadruped creatures by proposing a multi-level skeletal motion hierarchical method, which can reduce the cost of whole-body kinematic calculations and provide good scalability for creating virtual multi-legged creatures. The present invention provides a method for generating whole-body animations of quadruped creatures under various gaits and controllable motion state parameters by modeling the motion laws of quadruped creatures. By using the constrained CCDIK algorithm, the leg posture matching that automatically adapts to foot-end targets in different environments is achieved, thereby improving the quality of the generated animation. The spline algorithm is used to simulate the animation of the bending and deformation of the spine during movement, thereby achieving the generation of a continuous and natural turning animation. By adopting the above method, only the skeleton and initial posture of the quadruped creature can be input, and the animator can generate high-quality animations that conform to the biological motion laws and posture changes by adjusting the relevant motion parameters, which is conducive to improving the work efficiency of the animation generation process. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A flowchart for generating full-body animation of a quadruped creature according to the present invention;
[0036] Figure 2 This is a schematic diagram of the hierarchical structure of the quadrupedal organism movement of the present invention;
[0037] Figure 3 Generate a motion posture spline curve schematic diagram for the spine of the present invention;
[0038] Figure 4 Schematic diagram of a walking animation of a quadruped creature generated by the present invention, wherein (a) is a curve diagram of the swing angles of the hip joints and knee joints of the four legs under walking gait parameters-time, (b) is a curve diagram of the joint angles of a single leg in a single cycle, and (c) is a diagram of the movement position of the foot end in a single cycle;
[0039] Figure 5 Schematic diagram of a trotting animation of a quadruped creature generated by the present invention, wherein (a) is a curve diagram of the swing angles of the hip joints and knee joints of the four legs under the trotting gait parameters-time, (b) is a curve diagram of the joint angles of a single leg in a single cycle, and (c) is a diagram of the movement position of the foot end in a single cycle;
[0040] Figure 6 It is a schematic diagram of the system flow of the present invention. DETAILED DESCRIPTION
[0041] The present invention is described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the features of the following embodiments and implementations can be combined with each other.
[0042] The quadruped creature animation generation method of the present invention uses a multi-level motion layering method to simplify the character's full-body motion simulation, and provides a feasible solution for programmatically generating quadruped creature motion animation.
[0043] like Figure 1 As shown, a method for generating full-body animation of a quadruped creature, the specific implementation steps include:
[0044] Step 1: Figure 2 As shown, the motion levels of the skeleton of a quadruped are divided, circles represent key bone joints, and lines represent the connection relationship between joints. Figure 2 In the figure, the red nodes represent the two front and rear spine bones used to connect the four legs, which can be called virtual pelvic nodes (pelvis or shoulders). The yellow nodes represent the bones of the four legs connected to the spine, which will be used as the starting bones for leg posture generation after gait generation, as well as the transmission points of the forces that affect the movement of the corresponding spine bones in each leg, called virtual pelvic-spine nodes. The green ones at the bottom are the bones of the foot endpoints, which are used to apply the results of gait generation and are called foot-leg nodes.
[0045] The three-layer hierarchical structure proposed in the present invention divides the whole body skeleton of a quadrupedal organism into three parts. First, the purple cross-section represents multiple legs belonging to the same spinal column (in quadrupeds, each pelvis is affected by two legs, which is called the foot-pelvis structure in this article. This concept can be extended to multi-legged organisms, such as spiders and millipedes). The blue part represents the bone chain with two endpoints connected to the spine of the legs.
[0046] Step 2: According to the position information of the character in the virtual environment and the gait pattern input by the user, calculate the swing period of a single leg and the rotation angle of each joint; the single-leg CPG oscillation generation formula is:
[0047]
[0048] Where x and y describe the oscillator harmonic output, and represents the axial velocity on the limit cycle at the current moment, r is the disturbance of the system, r = x 2 +y 2 ;α is used to control the speed at which the oscillator converges to the limit cycle; are the radius of the limit cycle and the amplitude of the oscillator; represents the frequency of the limit cycle (oscillation frequency);
[0049] The gait pattern is constructed through the topological relationship within the foot. The gait manager is used to manage the phase difference relationship between multiple legs. The switching of different gaits is achieved by the transition of the phase difference. The phase topological relationship of the leg joints in each gait is shown in Table 1. After the phase difference is introduced, the CPG oscillator formula of each leg is:
[0050]
[0051] The first half is the matrix expression of the formula in step 2. u1 and u2 are external feedback inputs, which are introduced to better control the oscillation characteristics of the oscillator and make the output more adjustable. is the gait weight matrix. This matrix uses the principle of coordinate transformation so that the signal phases between different legs and joints can be generated according to the phase relationship given by the gait matrix θij (i = 1, ..., 4; j = 1, ..., 4, representing the phase relationship between legs); The formula is:
[0052]
[0053] Step 3: According to the spatial position relationship between the foot end target point and the virtual environment, the optimal leg animation posture that can be reached by the foot end is iteratively solved through the inverse kinematics algorithm.
[0054] In each iteration, the algorithm loops along the end bone of the leg bone chain to the root bone, rotating the currently selected bone toward the target point. The iteration exit condition is that the spatial distance between the end bone and the target point is less than the set minimum distance. The rotation value calculation formula of an intermediate bone in each iteration is:
[0055]
[0056] θ=arcos((p e -p i )·(p taget -p i ))
[0057] where p taget is the target position of the foot, which is obtained by detecting the landing point on the ground when the leg swing phase switches to the standing phase. The target position of the foot remains unchanged in the subsequent standing phase, so that the character movement animation will not slide in the world coordinates; p e is the position of the end bone, which can be obtained by forward kinematics from the spatial transformation of the parent bone on the bone chain. is the rotation axis of the current bone toward the target point, and θ is the expected rotation angle.
[0058] For bones that need to apply angle constraints, the rotation angle of a specific joint is limited by comparing the relative rotation of the parent node and the child node before rotation. The constraint formula for the rotation angle of a specified joint in the cycle is:
[0059]
[0060] Step 4: First, calculate the curvature of each spine according to the orientation rotation of the quadruped model on the horizontal plane, which is usually expressed as squeezing on one side and stretching on the other side. If the current rotation affects the pelvic node, the same rotation needs to be applied to the target point of gait generation; the vertical generation method is as follows Figure 3 ,After determining the positions of the virtual pelvis of the front and rear legs, these two points are used as the endpoints of the curve generation, and then the tangent of each virtual pelvis affected by the swinging directions of the two legs are used as the tangent of the endpoints of the spline, and finally the Hermite spline interpolation algorithm is used to calculate the curvature of the spine, and finally the middle spine is fitted with the curve.
[0061] Step 5: According to the multi-level motion hierarchy proposed in the present invention, the motion parameters of different parts applied to the key bones are calculated, and the whole body posture matching the current motion state is generated by integrating various parts.
[0062] In order to more intuitively demonstrate the effectiveness of the present invention, the present invention is based on a two-segment quadruped robot dog character, and uses two different gait modes, walk and trot, to compare the results of gait generation. Common gait phase parameters are shown in Table 1.
[0063] Table 1: Phase relationships of various gaits
[0064]
[0065] Example 1: In the walking gait, the phase difference of the four legs is [0, 0.5, 0, 0.5] with the left front leg as the reference. Suppose the load factor of the single leg is 0.75, the period is 0.8s, and the forward speed is 0.2m / s; Figure 4 As shown in the figure, (a) is the swing angle diagram of the hip joint (θh) and knee joint (θk) of each leg during the movement in the current gait, (b) is the angle change diagram of the left front foot (LF) during the swing cycle, and (c) is the motion trajectory diagram of the foot end in the local spatial coordinates of a single leg. In the gait of this example, the robot dog's left front leg and right hind leg maintain periodic synchronization, the right front leg and left hind leg maintain synchronization, and the latter maintains a phase difference of half a cycle with the left front leg. It is manifested as alternating swings of the left and right legs on the same side, the single-leg support and backswing stages are smooth, and the leg retraction and forward swing are rapid. When a single leg crosses the vertical plane during the backward swing, the knee joint is almost straightened and will stop swinging further through the angle constraint.
[0066] Example 2: In the trot gait, the phase difference of the four legs is [0, 0.5, 0.5, 0] with the left front leg as the reference. Suppose the load factor of the single leg is 0.5, the period is 0.4s, and the forward speed is 0.6m / s; Figure 5As shown in the figure, (a) is the swing angle diagram of the hip joint (θh) and knee joint (θk) of each leg in the current gait during the movement, (b) is the angle change diagram of the left front foot (LF) during the swing cycle, and (c) is the motion trajectory diagram of the foot end in the local space coordinates of a single leg. In the gait of this example, the front and rear legs of the robot dog swing at the same time, the left front leg and the right hind leg keep the cycle synchronous, the right front leg and the left hind leg keep the synchronization, and the latter has a phase difference of 0.5 with the left front leg.
[0067] like Figure 6 As shown, a quadruped creature animation generation system includes the following modules:
[0068] Input module: reads the preset algorithm parameters during editing and collects input from users and the environment during runtime.
[0069] Motion state management module: responsible for storing and calculating the motion state of the character; it consists of two parts. The character controller is responsible for the overall movement of the four-legged character, which is implemented using the capsule movement component provided by the Unreal Engine and can support the character's movement, pathfinding, obstacle avoidance and other operations; while the gait manager is implemented using an improved CPG gait algorithm to manage the gait generation of multiple legs.
[0070] Animation generation module: Based on the motion state data provided by the state layer, the position of the virtual pelvis is preliminarily determined; the foot end position is determined based on the surrounding environment and the foot end target point, and the improved CCDIK is used to generate the leg posture from the leg to the foot end; based on the motion state of the character controller and the gait manager, the support force provided by the current leg to the virtual pelvis in this motion cycle is obtained, and the vertical position of the current pelvis is calculated; finally, the tangent between the leg root bone and the virtual pelvis is calculated, and the virtual pelvis is used as the endpoint to apply the spline curve algorithm to the middle spine to generate the bone posture of the middle spine.
[0071] Those skilled in the art can understand that the above are only preferred examples of the invention and are not intended to limit the invention. Although the invention is described in detail with reference to the above examples, those skilled in the art can still modify the technical solutions recorded in the above examples or replace some of the technical features therein with equivalents. Any modification, equivalent replacement, etc. made within the spirit and principle of the invention shall be included in the protection scope of the invention.
Claims
1. A method for generating animation of quadruped creatures, It is characterized in that The steps include: (S1) The skeleton of a quadruped creature is divided into a virtual pelvic node, a foot-leg node, and a virtual pelvic-spine node according to the movement level; The virtual pelvic node represents the spine bones directly connected to the front and rear thigh root bones of the quadruped creature; the foot-leg node represents the bone chain from the end bone of any leg of the quadruped creature in contact with the ground to the leg root bone directly connected to the virtual pelvic bone; the virtual pelvic-spine node is a bone chain consisting of the virtual pelvic bone as the endpoint and the spine bone in the middle; (S2) determining an initial posture of a virtual pelvis according to position information of the quadruped in the virtual environment; calculating a single leg swing cycle and a rotation angle of each joint of the quadruped according to a gait pattern input by a user; Then the phase difference between multiple legs is controlled by the gait manager to express different gaits; (S3) According to the spatial position relationship between the foot end position and the virtual environment, the optimal leg animation posture that can be reached by the foot end is iteratively solved through the inverse kinematics algorithm to ensure that the leg is always in contact with the ground and does not penetrate the model; the foot knee joint is rotationally constrained according to the biological structure, and for creatures with reverse joints, the rotation area of the middle bone is limited according to the rotation amount of the front and rear joints to eliminate the multi-solution of the IK algorithm; (S4) calculating the curvature of each spine according to the orientation rotation of the quadruped biological model on the horizontal plane. If the current rotation affects the virtual pelvic node, the same rotation needs to be applied to the target point generated by the gait. After determining the vertical position of the virtual pelvis of the front and rear legs, the front and rear virtual pelvic nodes are used as the endpoints of the curve generation. Then, the tangent of each virtual pelvis in the swing direction of the two legs is used as the tangent of the endpoint of the spline. Finally, the Hermite spline curve interpolation algorithm is used to calculate the curvature of the spine. Finally, the intermediate spine is fitted with the curve to generate the final posture of the spine. (S5) According to the multi-level motion hierarchy, the motion parameters of different parts applied to the key bones are calculated, and the user input obtained in step (S2) is integrated with the initial posture of the virtual pelvis, the leg animation posture obtained in step (S3), and the final posture of the spine obtained in step (S4) to generate a full-body posture that matches the current motion state.
2. A method for generating a quadrupedal animation according to claim 1, It is characterized in that In the step (S1), the interaction relationship between the three nodes is as follows: the position and motion state of the virtual pelvic node are preliminarily determined by user input and motion trend; the foot-leg node takes the corresponding virtual pelvic node as the starting point, determines the appropriate foot landing point according to the environment, calculates the leg posture, and then the leg root bone transmits the motion state of each leg to the corresponding virtual node; the virtual node state is determined to be equal to the two endpoints of the virtual pelvic-spine node, and then the intermediate bone is determined according to the spine part algorithm.
3. A method for generating a quadrupedal animation according to claim 1, It is characterized in that The calculation of the rotation angle of each joint in the step (S2) adopts the CPG oscillation generation formula, which is as follows: Among them, x and y represent the current rotation value of a single joint around the x-axis and around the y-axis respectively. and They represent the movement speed along the x-axis and y-axis on the limit cycle at the current moment, r represents the disturbance of the system, r = x 2 +y 2 ; α is used to control the speed at which the oscillator converges to the limit cycle; are the radius of the limit cycle and the amplitude of the oscillator; represents the oscillation frequency of the limit cycle.
4. A method for generating a quadrupedal animation according to claim 1, It is characterized in that In the step (S2), the specific method of the gait manager controlling the phase difference between multiple legs is as follows: the gait pattern is constructed by the topological relationship within the foot, the gait manager is used to manage the phase difference relationship between multiple legs, the switching of different gaits is achieved by the transition of the phase difference, and the CPG oscillator formula of the associated phase of the i-th leg after the phase difference is introduced is as follows: Among them, u 1 and u 2 It is an external feedback input, which is introduced to better control the oscillation characteristics of the oscillator and make the output more adjustable; is the gait weight matrix, which uses the coordinate transformation principle so that the signal phases between different legs and joints can be generated according to the phase relationship given by the gait matrix θij, i = 1,...,4; j = 1,...,4, represents the phase relationship between legs; The formula is:
5. A method for generating a quadrupedal animation according to claim 1, It is characterized in that The step (S3) comprises: in each round of iteration, the inverse kinematics algorithm is cycled along the foot end to the leg root bone, and the currently selected bone is rotated toward the target point, and the iteration exit condition is that the spatial distance between the end bone and the target point is less than the set minimum distance; for the bone to which the angle constraint needs to be applied, the relative rotation of the parent node and the child node is compared before the rotation, so as to limit the rotation angle of the specific joint; The rotation value of an intermediate bone in each iteration is calculated as: θ=arcos((p e -p i )·(p taget -p i )) Among them, p taget is the target position of the foot, which is obtained by detecting the landing point on the ground when the leg swing phase switches to the standing phase. The target position of the foot remains unchanged in the subsequent standing phase, so that the character movement animation will not slide in the world coordinates; p e is the position of the end bone, which can be obtained by forward kinematics from the spatial transformation of the parent bone on the bone chain. i Represents the initial position of the bone calculated in the current iteration, is the rotation axis of the current bone toward the target point, and θ is the expected rotation angle.
6. A method for generating a quadrupedal creature animation according to claim 5, It is characterized in that For bones that need to apply angle constraints, the rotation angle of a specific joint is limited by comparing the relative rotation of the parent node and the child node before rotation. The specified joint is rotated by angle θ in the loop. i The constraint formula is:
7. A quadrupedal creature animation generation system, It is characterized in that Includes the following modules: Input module: reads the algorithm preset parameters during editing and collects input from users and the environment during runtime; Motion state management module: responsible for storing and calculating the motion state of the character; the module is divided into a character controller and a gait manager. The character controller is responsible for the overall movement of the quadruped character, which is implemented using the capsule movement component provided by the Unreal Engine and can support the character's movement, pathfinding, and obstacle avoidance operations; while the gait manager is implemented using an improved CPG gait algorithm to manage the gait generation of multiple legs; Animation generation module: Based on the motion state data provided by the state layer, the position of the virtual pelvis is preliminarily determined; the foot end position is determined according to the surrounding environment and the foot end target point, and the improved CCDIK is used to generate the leg posture from the leg to the foot end; based on the motion state calculated by the character controller and the support force of the virtual pelvis provided by the gait manager in this motion cycle, the vertical position of the current pelvis is calculated; finally, the tangent between the leg root bone and the virtual pelvis is calculated, and the spline curve algorithm is applied to the middle spine with the virtual pelvis as the endpoint to generate the bone posture of the middle spine.
Citation Information
Patent Citations
Virtual character walking animation generation method and device, equipment and storage medium
CN114283229A
Method and apparatus for generating walking animation of virtual character, and device and storage medium
WO2023088041A1
Cited By
Animal movement pathological state three-dimensional animation generation method, device and equipment and storage medium
CN120689476A
