Virtual object control method and device, storage medium and electronic device

A technology of virtual objects and control methods, applied in the computer field, can solve the problems of virtual object control, difficult to predict the physical simulation results of virtual objects, and difficult to express the artistic effects of virtual objects, etc.

Active Publication Date: 2020-11-27
BEIJING PERFECT WORLD SOFTWARE TECH DEV CO LTD
View PDF3 Cites 4 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
  • Virtual object control method and device, storage medium and electronic device
  • Virtual object control method and device, storage medium and electronic device
  • Virtual object control method and device, 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 structure block diagram of a virtual object control method provided by an embodiment of the present invention applied to a mobile terminal. Such as Figure 4 As shown, the terminal can include one or more ( Figure 4Only one is shown in the figure) processor 402 (the processor 402 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 404 for storing data. Optionally, the above-mentioned terminal can also be A transmission device 406 for communication functions and an input and output device 408 are included. Those of ordinary skill in the art can understand that, Figure 4 The shown structure is only for illustration, and does not limit the structure of the above-mentioned termi...

Embodiment 2

[0119] In this embodiment, a virtual object control device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has been explained will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are 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 skeletal model of the virtual object is provided with an animation system, and the skeletal model of the virtual object is provided with a physical system, and the physical system includes: skeletal rigid body and corresponding joint information; Figure 14 is a structural block diagram of a control device for a virtual object according to an embodiment of the pr...

Embodiment 3

[0138] An embodiment of the present invention also provides a storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one 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 performing 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 bone corresponding to the skeletal rigid body in the current state of the animation system;

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

[0142] S3, calculating and setting the state data and corresponding joint data of the target state of the skeletal rigid body in the next animation frame;

[0143] S4, using the physical system of the skeletal...

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 virtual object control method and device, a storage medium and an electronic device. The method comprises the steps: obtaining animation frame data of a skeleton correspondingto a skeleton rigid body in a current state in an animation system when the skeleton rigid body triggers collision in a skeleton model animation process; calculating state data and corresponding joint data of the skeleton rigid body in the current state according to the animation frame data; calculating and setting state data and corresponding joint data of the skeleton rigid body in the target state of the next animation frame; a physical system of a skeleton model is adopted, and approaching of a skeleton rigid body from a current state to a next animation frame target state is simulated ata time interval according to driving parameters generated during collision until loading of next animation frame data is achieved. According to the method and the device, the technical problems thatthe virtual object cannot be directly controlled due to art production, the physical simulation result of the virtual object is difficult to predict, the art effect of the virtual object is difficultto express and the like in related technologies are solved.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a virtual object control method and device, 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 obtain a good performance effect. But in the process of use, some problems gradually appeared: on the one hand, the animation effect is single. Taking the animation of being hit as an example, no matter what part is hit, the effect of being hit is the same. If you want to show different effects of being hit, It is necessary to produce corresponding actions through art, so that the overall performance is heavily dependent on the workload of art; on the other hand, it is difficult for pre-produced animations to interact with the actual surrounding environment. Take the knock-up animation as an example. In practical applications, the knock-up process may penetrate the scene o...

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 Applications(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