Control method and device for virtual object, storage medium, and electronic device

A technology of virtual objects and control methods, applied in the computer field, can solve problems such as virtual object control, difficulty in predicting virtual object physical simulation results, difficulty in expressing virtual object art effects, etc., and achieve the effect of improving fidelity

Active Publication Date: 2022-08-05
BEIJING PERFECT WORLD SOFTWARE TECH DEV CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a control method and device, a storage medium, and an electronic device for a virtual object, so as to at least solve the problem that in the related art, it is impossible to directly control the virtual object due to art production, and it is difficult to predict the physical simulation result of the virtual object, and Technical problems such as difficulty in expressing the artistic effects of virtual objects

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Control method and device for virtual object, storage medium, and electronic device
  • Control method and device for virtual object, storage medium, and electronic device
  • Control method and device for virtual object, storage medium, and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] The method embodiment provided in Embodiment 1 of the present invention may be executed in a computer, a terminal, or a similar computing device. Take running on the terminal as an example, Figure 4 It is a hardware structural block diagram of a virtual object control method provided by an embodiment of the present invention applied to a mobile terminal. like Figure 4 As shown, the terminal may include one or more ( Figure 4Only one is shown in the above) processor 402 (the processor 402 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 404 for storing data. Optionally, the above-mentioned terminal may also Transmission devices 406 and input and output devices 408 are included for communication functions. Those of ordinary skill in the art can understand that, Figure 4 The shown structure is only for illustration, which does not limit the structure of the above-mentioned t...

Embodiment 2

[0119] In this embodiment, a virtual object control apparatus is also provided, which is used to implement the above-mentioned embodiments and preferred implementations, and what has been described will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.

[0120] This embodiment provides a control device for a virtual object, wherein the skeleton model of the virtual object is provided with an animation system, and the skeleton model of the virtual object is provided with a physics system, and the physics system includes: a skeleton rigid body and corresponding joint information; Figure 14 is a structural block diagram of a virtual object control device according to an embodiment of ...

Embodiment 3

[0138] An embodiment of the present invention further provides a storage medium, where a computer program is stored in the storage medium, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.

[0139] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for executing the following steps:

[0140] S1, when the skeletal rigid body triggers a collision during the animation of the skeletal model, obtain the animation frame data of the skeleton corresponding to the skeletal rigid body in the current state in the animation system;

[0141] S2, calculating the state data and corresponding joint data when the current state of the skeleton rigid body is calculated according to the animation frame data;

[0142] S3, calculate and set the state data and corresponding joint data of the skeleton rigid body in the target state of the next animation frame;

[0143] S4,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a control method and device, a storage medium and an electronic device for a virtual object. The method includes: when the skeleton rigid body triggers a collision during the animation of a skeletal model, acquiring the animation of the skeleton corresponding to the skeleton rigid body in the current state in the animation system Frame data; calculate the state data and corresponding joint data of the current state of the skeletal rigid body according to the animation frame data; calculate and set the state data and corresponding joint data of the skeletal rigid body in the target state of the next animation frame; adopt the physical system of the skeleton model, according to The driving parameters generated during collision simulate the approach of the skeletal rigid body from the current state to the target state of the next animation frame at a time interval, until the loading of the next animation frame data. The invention solves the technical problems in the related art, such as the inability to directly control the virtual object due to art production, the difficulty in predicting the physical simulation result of the virtual object, and the difficulty in expressing the artistic effect of the virtual object.

Description

technical field [0001] The present invention relates to the field of computers, and in particular, to a method and device for controlling virtual objects, a storage medium, and an electronic device. Background technique [0002] In the game rendering system of the related art, a skeletal animation system can be used to achieve good performance effects. However, in the process of use, some problems gradually emerged: on the one hand, the animation effect is single. Take the hit animation as an example, no matter what part is hit, the hit effect is the same. If you want to show different hit effects, Corresponding actions need to be produced through art, so that the overall performance is heavily dependent on the workload of art; on the other hand, it is difficult for pre-made animations to interact with the actual surrounding environment. Taking the knock-up animation as an example, in practical applications, the knock-up process may penetrate the scene objects, figure 1 It...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06T13/00G06T7/70
CPCG06T13/00G06T7/70
Inventor 刘洋何文峰
Owner BEIJING PERFECT WORLD SOFTWARE TECH DEV CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products