The method and medium of dragging and dropping objects by the mouse in the unity3d scene
An object and scene technology, applied in the field of Unity3D, can solve problems such as operation and maintenance troubles, achieve the effect of less code, avoid adjustment difficulties, and avoid low efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0048] In order to make the present invention more comprehensible, a preferred embodiment is now described in detail with accompanying drawings as follows.
[0049] The method of the present invention is suitable for scenes where the camera is fixed and the depth of field does not change much. On the basis of the parallel dragging method of the camera viewing surface, an independent plane is introduced, which is equivalent to a plane between other objects in the scene and the camera. A piece of white paper faces the camera to cover other objects, distinguishing the two, and then through the algorithm, the object can be dragged at the mouse pointer in the screen space, and not on a separate plane in the world coordinates. Other objects coincide.
[0050] Such as Figure 1 to Figure 5 Shown, in a kind of Unity3D scene of the present invention, the method for dragging by the surface of mouse to object comprises the following steps:
[0051] Step 1. Create a plane game object (P...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com