Method and device for detecting collision between colliders in real-time virtual scene

一种虚拟场景、碰撞体的技术,应用在实时虚拟场景中碰撞体之间碰撞探测领域,能够解决移动效率低、碰撞操作不顺畅等问题

Active Publication Date: 2016-04-13
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Based on this, it is necessary to provide a method of collision detection between collision bodies in a real-time virtual scene, which can improve the smoothness of operation and improve the movement efficiency. efficiency

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
  • Method and device for detecting collision between colliders in real-time virtual scene
  • Method and device for detecting collision between colliders in real-time virtual scene
  • Method and device for detecting collision between colliders in real-time virtual scene

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0038] figure 2 It is a schematic diagram of the application environment of the method and device for collision detection between collision objects in a real-time virtual scene in one embodiment. Such as figure 2 As shown, the application environment includes a terminal 210 and a server 220, and there may be multiple terminals 210. A plurality of terminals 210 communicate with a server 220 . The method for collision detection between collision bodies in a real-time virtual scene can be run on the terminal 210, the terminal 210 obtains the virtual scene data from the server 220, and the termina...

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 relates to a method and device for detecting collision between colliders in a real-time virtual scene. The method comprises the following steps: obtaining shortest distances from a cylindrical collider corresponding to a virtual object in a virtual scene to various planes of a first binary space partitioning collider; expanding the various planes of the first binary space partitioning collider according to the shortest distances so as to form a second binary space partitioning collider; expanding an axis aligned bounding box of the first binary space partitioning collider so as to generate an expanded outer edge bounding box; getting intersection elements of the generated expanded outer edge bounding box and the second binary space partitioning collider; and getting intersection elements of the cylindrical collider, the expanded outer edge bounding box and the second binary space partitioning collider so as to obtain a result, and performing collision detection on the result. According to the method and device for detecting collision between the colliders in the real-time virtual scene disclosed by the invention, a corner can be crossed only through a relatively short distance; therefore, the moving efficiency is increased; furthermore, smooth crossing is realized; and thus, operation is relatively smooth.

Description

technical field [0001] The invention relates to the field of computer applications, in particular to a method and device for collision detection between collision bodies in a real-time virtual scene. Background technique [0002] A virtual scene refers to a scene simulated by a computer, such as a game scene, an animation scene, and the like. Taking the game scene as an example, when a virtual object encounters an obstacle, it needs to go around the obstacle, that is, the collision between the virtual object and the obstacle. The traditional processing method is to simplify both the virtual object and the obstacle into an axis Align the colliders of the bounding box, such as figure 1 As shown, the collision body 110 simplified by the virtual object needs to go around the corner 120. According to the movement change process shown in the figure, it is necessary to wait for the collision body 110 to move out of the corner before continuing to move along the lower edge of the w...

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): G06T19/00G06T7/00
CPCG06T19/006G06T19/00G06T13/20G06T7/12G06T7/246G06T7/181G06T2210/12G06T2210/21G06T7/50G06T7/13G06T7/70G06T3/20G06T7/60
Inventor 匡西尼
Owner TENCENT TECH (SHENZHEN) 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