Virtual object control method and apparatus
A technology of virtual objects and control methods, which is applied in the field of virtual control, can solve problems that affect user interaction experience, consume long time, and have not been raised, so as to achieve the effect of improving user experience, reducing operation time, and reducing the number of operations
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] Embodiment 1 of the present invention provides a virtual object control method, see figure 1 The flow chart of the control method for the virtual object shown includes the following steps:
[0034] Step S11, providing at least one control for setting an angle in the display interface where the virtual object is located.
[0035] Taking the shooting game application scenario as an example, the angle can generally be adjusted through the up and down direction keys on the keyboard, through the virtual up and down keys on the touch screen, or through an input device such as a mouse. When the user adjusts the angle through the above method, it needs to perform multiple operations for adjustment, which consumes a long time. Therefore, at least one setting angle control is provided in the display interface where the virtual object is located for the user to quickly select.
[0036]Considering that there are generally multiple angles commonly used by users, multiple angle set...
Embodiment 2
[0044] Embodiment 2 of the present invention provides a method for controlling a virtual object, which is illustrated by using a parabolic shooting application scenario.
[0045] First of all, it is necessary to define the application scenario of parabolic shooting. Specifically, object A at any position in the scene can launch projectiles or object A itself can be fired and move through a parabolic trajectory, with the purpose of hitting object B at other positions in the scene. It can be understood that the movement of the projectile is affected by gravity, wind force, initial force, and the mass of the projectile, so it will perform a parabolic motion, and finally the projectile will hit the object B or not. In the parabolic trajectory calculation, the parabolic physical calculation formula used is as follows:
[0046] The formula for calculating the initial velocity of a projectile is:
[0047] speedX=cos(angle*π / 180)*power
[0048] speedY=sin(angle*π / 180)*power
[0049...
Embodiment 3
[0075] Embodiment 3 of the present invention provides a virtual object control device, which is applied to a background server, see Figure 5 The schematic diagram of the structure includes a setting angle control providing module 310, a target angle determining module 320 and a movement control module 330, wherein the functions of each module are as follows:
[0076] A setting angle control providing module 310, configured to provide at least one setting angle control in the display interface where the virtual object is located;
[0077] The target angle determination module 320 is configured to determine the target angle of the virtual object according to the angle corresponding to the set angle control when receiving an instruction that the set angle control is selected;
[0078] The movement control module 330 is configured to control the movement of the virtual object at a target angle and a set movement track.
[0079] Wherein, the setting angle control providing module...
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