CN111078031B - Virtual character position determining method, device, equipment and storage medium - Google Patents

Virtual character position determining method, device, equipment and storage medium Download PDF

Info

Publication number
CN111078031B
CN111078031B CN201911340599.2A CN201911340599A CN111078031B CN 111078031 B CN111078031 B CN 111078031B CN 201911340599 A CN201911340599 A CN 201911340599A CN 111078031 B CN111078031 B CN 111078031B
Authority
CN
China
Prior art keywords
virtual character
determining
gravity direction
mobile platform
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911340599.2A
Other languages
Chinese (zh)
Other versions
CN111078031A (en
Inventor
贺知明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Mihayou Network Science And Technology Co ltd
Original Assignee
Shanghai Mihayou Network Science And Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Mihayou Network Science And Technology Co ltd filed Critical Shanghai Mihayou Network Science And Technology Co ltd
Priority to CN201911340599.2A priority Critical patent/CN111078031B/en
Publication of CN111078031A publication Critical patent/CN111078031A/en
Application granted granted Critical
Publication of CN111078031B publication Critical patent/CN111078031B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/211Input arrangements for video game devices characterised by their sensors, purposes or types using inertial sensors, e.g. accelerometers or gyroscopes
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding

Abstract

The invention discloses a method, a device, equipment and a storage medium for determining the position of a virtual character, wherein the method for determining the position of the virtual character is applied to a game application program, the game application program is developed based on a physical engine, and the virtual character of the game application program is positioned on a mobile platform, and the method comprises the following steps: acquiring the position information of the virtual character in the previous frame; acquiring translation information and rotation information of the mobile platform; determining the gravity direction of the virtual character according to the rotation information; and determining the position of the virtual character according to the position information, the translation information and the gravity direction. According to the technical scheme of the embodiment of the invention, aiming at the game application developed based on the physical engine, the gravity direction of the virtual character is determined according to the rotation angle of the mobile platform, the consistency of the character and the direction of the mobile platform is ensured, and the stability of the position movement of the virtual character on the rotary platform is ensured.

Description

Virtual character position determining method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of application programs, in particular to a method, a device, equipment and a storage medium for determining the position of a virtual character.
Background
With the rapid development of internet technology, application programs of mobile phone terminals become rich and colorful, and game layers of flight fight class are endless.
However, when the existing flying game rotates on the flying device, gravity factors are mainly considered, and when the flying device rotates on the flying device, the person taking the flying device loses the gravity center, so that the fight effect is affected, and bad game experience is brought to users.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for determining the position of a virtual character, which can still keep a user stably positioned on a flight platform when the flight platform rotates.
In a first aspect, an embodiment of the present invention provides a method for determining a position of a virtual character, where the method includes:
acquiring the position information of the virtual character in the previous frame;
acquiring translation information and rotation information of the mobile platform;
determining the gravity direction of the virtual character according to the rotation information;
and determining the position of the virtual character according to the position information, the translation information and the gravity direction.
In a second aspect, an embodiment of the present invention further provides a device for determining a position of a virtual character, where the device includes:
a history position acquisition module, configured to acquire position information of the virtual character in a previous frame;
the platform movement information acquisition module is used for acquiring translation information and rotation information of the mobile platform;
the gravity direction determining module is used for determining the gravity direction of the virtual character according to the rotation information;
and the character position determining module is used for determining the position of the virtual character according to the position information, the translation information and the gravity direction.
In a third aspect, an embodiment of the present invention further provides a device for determining a position of a virtual character, where the device includes:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for determining a position of a avatar provided by any embodiment of the present invention.
In a fourth aspect, embodiments of the present invention also provide a storage medium containing computer-executable instructions which, when executed by a computer processor, are used to perform the method of determining the position of a virtual character provided by any of the embodiments of the present invention.
According to the technical scheme of the embodiment of the invention, aiming at the game application developed based on the physical engine, the virtual character is positioned on one mobile platform, the mobile platform rotates or overturns along with the scene requirement, the gravity direction of the virtual character is determined according to the rotation information of the mobile platform, and the gravity direction of the virtual character is kept consistent with that of the mobile platform, so that the virtual character can be stably arranged on the mobile platform, the position of the current frame of the virtual character is determined according to the position of the virtual character in the previous frame, the translation information of the mobile platform and the gravity direction, the virtual character can still be stabilized on the mobile platform when the mobile platform rotates or overturns, and the game interestingness is improved.
Drawings
Fig. 1 is a flowchart of a method for determining a position of a virtual character according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method for determining the position of a virtual character in accordance with a second embodiment of the present invention;
FIG. 3 is a schematic diagram of a virtual character position determining apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic diagram of a virtual character position determining apparatus in accordance with a fourth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a method for determining a position of a virtual character according to an embodiment of the present invention, where the method is applicable to a case of determining a position of a virtual character in a game and is applicable to a game developed by using a physical engine, the method may be performed by a device for determining a position of a virtual character, and the device may be implemented by software and/or hardware, as shown in fig. 1, and the method specifically includes the following steps:
step 110, obtaining the position information of the virtual character in the previous frame.
The game application to which the virtual character belongs is a game application developed based on a physical engine, and the virtual character of the game application is located on a mobile platform. The mobile platform translates and rotates according to scene requirements. The position information refers to a position of the virtual character in the virtual scene of the game application, and may be an absolute position relative to the virtual world in the game application, or may refer to a position of the virtual character on the mobile platform. The avatar may be a Player user avatar or NPC (Non-Player Character, non-Player user), and may specifically be a monster or a principal angle in a game application, etc.
Specifically, the physical engine is mainly used to give real physical characteristics to each character and building in the game, etc. to calculate the reflection of the movement, rotation and collision thereof. By using a physical engine to develop a game, a scene and a sense of realism of a character are given to the game, and a sense of substitution of the game is increased.
Further, in the game application, the virtual character can translate on the mobile platform, such as running, jumping or releasing skills in any direction on the mobile platform. The moving platform is much larger than the virtual character volume, so that the virtual character can move inside the moving platform, such as avoid attack, or move along a set path, etc.
And 120, acquiring translation information and rotation information of the mobile platform.
The mobile platform refers to a movable platform for carrying virtual characters. The translation information includes a translation direction and a translation speed, and the rotation information includes a rotation direction and a rotation angle.
Specifically, the mobile platform can translate, rotate or even overturn under a set scene or condition according to the design of relevant developers, and can also perform various actions such as shaking, shaking and the like. Each action corresponds to a set of translation information and rotation information.
Optionally, the mobile platform is a flying platform, such as an airplane, an airship, etc.
And 130, determining the gravity direction of the virtual character according to the rotation information.
For games developed based on physical engines, the direction of gravity of all virtual characters and virtual objects in the game is generally a set uniform direction, and in order to get closer to the habit of a player, the direction of gravity is generally consistent with the direction of gravity of the real world.
According to the technical scheme, the gravity direction of the virtual character is determined according to the rotation information of the mobile platform, so that the gravity direction of the virtual character is always vertical to the mobile platform.
Specifically, the gravity direction of the current frame of the avatar may be determined according to the rotation angle, rotation direction and rotation speed of the mobile platform.
Illustratively, assume that the current frame mobile platform is held at a certain speed to translate forward and is in a horizontal orientation, the avatar is centered on the mobile platform, held upright, and the direction of gravity is vertically downward. In the next two frames of pictures, the rotation angle of the mobile platform is 180 degrees, the rotation direction is anticlockwise, and the rotation speed is 90 degrees per frame, so that the gravity direction of the corresponding next two frames of virtual characters is horizontally right and vertically upwards.
Optionally, the determining the gravity direction of the virtual character according to the rotation information includes:
acquiring the gravity direction of the virtual character in the previous frame; and determining the gravity direction of the current frame according to the rotation information and the gravity direction of the previous frame.
Optionally, the determining the gravity direction of the virtual character according to the rotation information includes:
determining the rotation angle of the appointed plane of the mobile platform according to the rotation information; and determining the gravity direction of the virtual character according to the rotation angle so as to ensure that the gravity direction of the virtual character is vertical to the horizontal plane where the mobile platform is located.
The designated plane may be a plane where the center of gravity of the mobile platform is located, or may be a plane where a face contacting the virtual character is located.
And 140, determining the position of the virtual character according to the position information, the translation information and the gravity direction.
After the gravity direction of the virtual character is determined, the translation information of the mobile platform can be superimposed to the virtual character, and the position of the virtual character in the current frame can be obtained by combining the position of the virtual character in the previous frame.
According to the technical scheme of the embodiment of the invention, aiming at the game application developed based on the physical engine, the virtual character is positioned on one mobile platform, the mobile platform rotates or overturns along with the scene requirement, the gravity direction of the virtual character is determined according to the rotation information of the mobile platform, and the gravity direction of the virtual character is kept consistent with that of the mobile platform, so that the virtual character can be stably arranged on the mobile platform, the position of the current frame of the virtual character is determined according to the position of the virtual character in the previous frame, the translation information of the mobile platform and the gravity direction, the virtual character can still be stabilized on the mobile platform when the mobile platform rotates or overturns, and the game interestingness is improved.
Example two
Fig. 2 is a flowchart of a method for determining a position of a virtual character according to a second embodiment of the present invention, where the method for determining a position of a virtual character according to the present invention further includes: and acquiring the control instruction of the virtual character.
As shown in fig. 2, the method for determining the position of the avatar includes the steps of:
step 210, obtaining the position information of the virtual character in the previous frame.
Step 220, obtaining translation information and rotation information of the mobile platform.
Step 230, acquiring the gravity direction of the virtual character in the previous frame.
Step 240, determining the gravity direction of the current frame according to the rotation information and the gravity direction of the previous frame.
Optionally, the determining the gravity direction of the current frame according to the rotation information and the gravity direction of the previous frame includes:
determining a rotation matrix of the mobile platform according to the rotation information of the mobile platform of the current frame; and determining the gravity direction of the current frame according to the rotation matrix and the gravity direction of the previous frame.
Specifically, the gravity direction of the virtual character in the previous frame and the rotation information of the mobile platform can be overlapped, so that the gravity direction of the virtual character in the current frame can be obtained.
Illustratively, the gravity direction of the virtual character in the previous frame is vertically downward, the rotation information of the current frame of the mobile platform is clockwise rotated by 90 degrees, and the gravity direction of the virtual character in the current frame is clockwise rotated by 90 degrees on the basis of vertically downward and is changed to be horizontally leftward.
Step 250, obtaining a control instruction of the virtual character.
The manipulation instruction may be a movement instruction for moving the avatar, such as a translation or a jump in any direction, such as the front, back, left, right, or the like, or may be an instruction for controlling the avatar to use a set skill.
Specifically, the movement path of the avatar may be determined according to the manipulation instruction. The moving path comprises the moving distance and the moving direction of each frame of the virtual character.
And 260, determining the position of the virtual character according to the control instruction, the position information, the translation information and the gravity direction.
Specifically, character movement information of the virtual character is obtained according to the control instruction; superposing the character movement information and the translation information of the mobile platform to obtain movement information of the virtual character; determining position change information of the virtual character according to the gravity direction and the movement information; and determining the position of the current frame of the virtual character according to the position information of the last frame of the virtual character and the position change information.
For example, assuming that the position information of the previous frame is that the virtual character is located at the point a of the mobile platform, the gravity direction is vertically downward, the mobile platform needs to translate forward by 1 meter during the period from the previous frame to the current frame, rotate anticlockwise by 180 degrees, and the control instruction is that the virtual character is in-situ jumped; then, based on the physical engine, the bouncing capability of the virtual character can be obtained, so that the jumping distance of the virtual character is determined to be 1 meter, firstly, the gravity direction of the virtual character in the current frame is determined to be vertical upwards, so that the virtual character can be obtained to be inverted on the mobile platform, and then, according to the position information (point A) of the previous frame, the translation distance (1 meter) of the platform and the control instruction (point A, 1 meter upwards), the position of the virtual character in the current frame can be obtained to be 1 meter above the point A. Because the translation speed of the mobile platform is added to the virtual character, the two are kept stationary in the moving direction of the mobile platform, namely, if the control instruction does not change the position of the character relative to the mobile platform, the mobile platform and the virtual character are relatively stationary.
According to the technical scheme of the embodiment of the invention, aiming at the game application developed based on the physical engine, the virtual character is positioned on one mobile platform, the mobile platform rotates or overturns along with the scene requirement, the gravity direction of the virtual character is determined according to the rotation information of the mobile platform, and the gravity direction of the virtual character is kept consistent with that of the mobile platform, so that the virtual character can be stably arranged on the mobile platform, the position of the current frame of the virtual character is determined according to the control instruction of a player, the position of the virtual character in the previous frame, the translation information of the mobile platform and the gravity direction, the virtual character can still be stabilized on the mobile platform when the mobile platform rotates or overturns, the richness of virtual character control is improved, and the game interestingness is further improved.
Example III
Fig. 3 is a schematic diagram of a device for determining a position of a virtual character according to a third embodiment of the present invention, where the device is applied to a game application, the game application is developed based on a physical engine, and the virtual character of the game application is located on a mobile platform. As shown in fig. 3, the apparatus includes: historical position acquisition module 310, platform movement information acquisition module 320, gravity direction determination module 330, and character position determination module 340
The history location obtaining module 310 is configured to obtain location information of the virtual character in a previous frame; a platform movement information obtaining module 320, configured to obtain translation information and rotation information of the mobile platform; a gravity direction determining module 330, configured to determine a gravity direction of the avatar according to the rotation information; the person position determining module 340 is configured to determine the position of the virtual person according to the position information, the translation information, and the gravity direction.
According to the technical scheme of the embodiment of the invention, aiming at the game application developed based on the physical engine, the virtual character is positioned on one mobile platform, the mobile platform rotates or overturns along with the scene requirement, the gravity direction of the virtual character is determined according to the rotation information of the mobile platform, and the gravity direction of the virtual character is kept consistent with that of the mobile platform, so that the virtual character can be stably arranged on the mobile platform, the position of the current frame of the virtual character is determined according to the position of the virtual character in the previous frame, the translation information of the mobile platform and the gravity direction, the virtual character can still be stabilized on the mobile platform when the mobile platform rotates or overturns, and the game interestingness is improved.
Optionally, the mobile platform is a flying platform.
Optionally, the gravity direction determining module 330 is specifically configured to:
determining the rotation angle of the appointed plane of the mobile platform according to the rotation information; and determining the gravity direction of the virtual character according to the rotation angle so as to ensure that the gravity direction of the virtual character is vertical to the horizontal plane where the mobile platform is located.
Optionally, the gravity direction determining module 330 includes:
a previous frame gravity direction obtaining unit, configured to obtain a gravity direction of the virtual character in the previous frame;
and the gravity direction determining unit is used for determining the gravity direction of the current frame according to the rotation information and the gravity direction of the previous frame.
Optionally, the gravity direction determining unit is specifically configured to:
determining the rotation angle of the appointed plane of the mobile platform according to the rotation information; and determining the gravity direction of the virtual character according to the rotation angle so as to ensure that the gravity direction of the virtual character is vertical to the horizontal plane where the mobile platform is located.
Optionally, the device for determining the position of the virtual character further includes:
and the instruction acquisition module is used for acquiring the control instruction of the virtual character.
Accordingly, the gravity direction determining module 330 is specifically configured to:
and determining the position of the virtual character according to the control instruction, the position information, the translation information and the gravity direction.
The virtual character position determining device provided by the embodiment of the invention can execute the virtual character position determining method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Example IV
Fig. 4 is a schematic structural diagram of a virtual character position determining apparatus according to a fourth embodiment of the present invention, and as shown in fig. 4, the apparatus includes a processor 410, a memory 420, an input device 430 and an output device 440; the number of device processors 410 may be one or more, with one processor 410 being taken as an example in fig. 4; the processor 410, memory 420, input means 430 and output means 440 in the device may be connected by a bus or other means, for example in fig. 4.
The memory 420 is a computer-readable storage medium that may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for determining the position of a avatar in the embodiment of the present invention (e.g., the history position acquisition module 310, the platform movement information acquisition module 320, the gravity direction determination module 330, and the avatar position determination module 340 in the avatar position determination device). The processor 410 performs various functional applications of the device and data processing, i.e., implements the above-described method of determining the position of the avatar by running software programs, instructions, and modules stored in the memory 420.
Memory 420 may include primarily a program storage area and a data storage area, wherein the program storage area may store an operating system, at least one application program required for functionality; the storage data area may store data created according to the use of the terminal, etc. In addition, memory 420 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 420 may further include memory remotely located with respect to processor 410, which may be connected to the device/terminal/server via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 430 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the device. The output 440 may include a display device such as a display screen.
Example five
A fifth inventive embodiment also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing a method of determining a position of a virtual character, the method comprising:
acquiring the position information of the virtual character in the previous frame;
acquiring translation information and rotation information of the mobile platform;
determining the gravity direction of the virtual character according to the rotation information;
and determining the position of the virtual character according to the position information, the translation information and the gravity direction.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present invention is not limited to the above-described method operations, and may also perform the related operations in the virtual character position determining method provided in any embodiment of the present invention.
From the above description of embodiments, it will be clear to a person skilled in the art that the present invention may be implemented by means of software and necessary general purpose hardware, but of course also by means of hardware, although in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, etc., and include several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present invention.
It should be noted that, in the embodiment of the virtual character position determining apparatus, each unit and module included are only divided according to the functional logic, but not limited to the above-mentioned division, so long as the corresponding functions can be implemented; in addition, the specific names of the functional units are also only for distinguishing from each other, and are not used to limit the protection scope of the present invention.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (9)

1. A method of determining a position of a avatar, the method being applied to a game application developed based on a physics engine, the avatar of the game application being located on a mobile platform, comprising:
acquiring the position information of the virtual character in the previous frame;
acquiring translation information and rotation information of the mobile platform;
determining the gravity direction of the virtual character according to the rotation information;
determining the position of the virtual character according to the position information, the translation information and the gravity direction;
wherein the determining the gravity direction of the virtual character according to the rotation information includes:
determining a rotation angle of a specified plane of the mobile platform according to the rotation information, wherein the specified plane is a plane where the center of gravity of the mobile platform is located or a plane where one surface contacted with the virtual character is located;
and determining the gravity direction of the virtual character according to the rotation angle so as to ensure that the gravity direction of the virtual character is vertical to the horizontal plane where the mobile platform is located.
2. The method of claim 1, wherein the mobile platform is a flying platform.
3. The method of claim 1, wherein the determining the direction of gravity of the avatar from the rotation information comprises:
acquiring the gravity direction of the virtual character in the previous frame;
and determining the gravity direction of the current frame according to the rotation information and the gravity direction of the previous frame.
4. A method according to claim 3, wherein said determining the direction of gravity of the current frame from the rotation information and the direction of gravity of the previous frame comprises:
determining a rotation matrix of the mobile platform according to the rotation information of the mobile platform of the current frame;
and determining the gravity direction of the current frame according to the rotation matrix and the gravity direction of the previous frame.
5. The method as recited in claim 1, further comprising:
acquiring a control instruction of the virtual character;
and determining the position of the virtual character according to the control instruction, the position information, the translation information and the gravity direction.
6. A virtual character position determining apparatus, the apparatus being applied to a game application developed based on a physical engine, the virtual character of the game application being located on a mobile platform, comprising:
a history position acquisition module, configured to acquire position information of the virtual character in a previous frame;
the platform movement information acquisition module is used for acquiring translation information and rotation information of the mobile platform;
the gravity direction determining module is used for determining the gravity direction of the virtual character according to the rotation information;
the character position determining module is used for determining the position of the virtual character according to the position information, the translation information and the gravity direction;
the gravity direction determining module is specifically configured to:
determining a rotation angle of a specified plane of the mobile platform according to the rotation information, wherein the specified plane is a plane where the center of gravity of the mobile platform is located or a plane where one surface contacted with the virtual character is located;
and determining the gravity direction of the virtual character according to the rotation angle so as to ensure that the gravity direction of the virtual character is vertical to the horizontal plane where the mobile platform is located.
7. The apparatus of claim 6, wherein the gravity direction determination module comprises:
a history coordinate acquiring unit, configured to acquire a gravity direction of the virtual character in a previous frame;
and the character coordinate determining unit is used for determining the gravity direction of the current frame according to the rotation information and the gravity direction of the previous frame.
8. A virtual character position determining apparatus, the apparatus comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of location determination of a avatar as claimed in any one of claims 1-5.
9. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the method of determining the position of a virtual character as claimed in any one of claims 1 to 5.
CN201911340599.2A 2019-12-23 2019-12-23 Virtual character position determining method, device, equipment and storage medium Active CN111078031B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911340599.2A CN111078031B (en) 2019-12-23 2019-12-23 Virtual character position determining method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911340599.2A CN111078031B (en) 2019-12-23 2019-12-23 Virtual character position determining method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111078031A CN111078031A (en) 2020-04-28
CN111078031B true CN111078031B (en) 2023-11-14

Family

ID=70316944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911340599.2A Active CN111078031B (en) 2019-12-23 2019-12-23 Virtual character position determining method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111078031B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103456202A (en) * 2013-09-05 2013-12-18 上海蔚翼航空科技有限公司 Analogue simulation device based on plane test flight training and system thereof
CN105139451A (en) * 2015-08-10 2015-12-09 中国商用飞机有限责任公司北京民用飞机技术研究中心 HUD (head-up display) based synthetic vision guiding display system
WO2017008651A1 (en) * 2015-07-11 2017-01-19 北京万游网络科技有限公司 Ball game system and control method therefor
CN108492363A (en) * 2018-03-26 2018-09-04 广东欧珀移动通信有限公司 Combined method, device, storage medium based on augmented reality and electronic equipment
CN108771866A (en) * 2018-05-29 2018-11-09 网易(杭州)网络有限公司 Virtual object control method in virtual reality and device
CN109011559A (en) * 2018-07-26 2018-12-18 网易(杭州)网络有限公司 Control method, device, equipment and the storage medium of virtual carrier in game
WO2019019968A1 (en) * 2017-07-25 2019-01-31 腾讯科技(深圳)有限公司 Displacement control method and device for virtual character, and storage medium
CN109801350A (en) * 2019-01-24 2019-05-24 湖南深度体验智能技术有限公司 A kind of personage's motion simulation method based on example animation
CN109925720A (en) * 2019-04-12 2019-06-25 网易(杭州)网络有限公司 Information processing method and device
CN110052025A (en) * 2019-05-24 2019-07-26 网易(杭州)网络有限公司 Method for sending information, display methods, device, equipment, medium in game

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103977559B (en) * 2014-05-23 2017-10-17 北京智谷睿拓技术服务有限公司 Exchange method and interactive device
US10599325B2 (en) * 2015-04-14 2020-03-24 Flying Wisdom Studios Navigating virtual environments
GB2548154A (en) * 2016-03-11 2017-09-13 Sony Computer Entertainment Europe Ltd Virtual reality
US10307670B2 (en) * 2017-06-12 2019-06-04 Ju-yup Lee Motorcycle simulation controller

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103456202A (en) * 2013-09-05 2013-12-18 上海蔚翼航空科技有限公司 Analogue simulation device based on plane test flight training and system thereof
WO2017008651A1 (en) * 2015-07-11 2017-01-19 北京万游网络科技有限公司 Ball game system and control method therefor
CN105139451A (en) * 2015-08-10 2015-12-09 中国商用飞机有限责任公司北京民用飞机技术研究中心 HUD (head-up display) based synthetic vision guiding display system
WO2019019968A1 (en) * 2017-07-25 2019-01-31 腾讯科技(深圳)有限公司 Displacement control method and device for virtual character, and storage medium
CN108492363A (en) * 2018-03-26 2018-09-04 广东欧珀移动通信有限公司 Combined method, device, storage medium based on augmented reality and electronic equipment
CN108771866A (en) * 2018-05-29 2018-11-09 网易(杭州)网络有限公司 Virtual object control method in virtual reality and device
CN109011559A (en) * 2018-07-26 2018-12-18 网易(杭州)网络有限公司 Control method, device, equipment and the storage medium of virtual carrier in game
CN109801350A (en) * 2019-01-24 2019-05-24 湖南深度体验智能技术有限公司 A kind of personage's motion simulation method based on example animation
CN109925720A (en) * 2019-04-12 2019-06-25 网易(杭州)网络有限公司 Information processing method and device
CN110052025A (en) * 2019-05-24 2019-07-26 网易(杭州)网络有限公司 Method for sending information, display methods, device, equipment, medium in game

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Na Chen等.Hoisting technique simulation based on physical engine for launch site.《2016 International Conference on Progress in Informatics and Computing (PIC)》.2017,全文. *
汪佳懿 ; .基于Unity 3D技术的虚拟现实游戏设计与制作研究.东方藏品.2018,(05),全文. *
王瑜 ; .虚拟漫游系统中碰撞检测技术的研究与应用.电子设计工程.2016,(13),全文. *
贾飞鹏 ; 何冬冬 ; .基于Kinect的快速动画制作应用研究.赤峰学院学报(自然科学版).2017,(20),全文. *

Also Published As

Publication number Publication date
CN111078031A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN112076473B (en) Control method and device of virtual prop, electronic equipment and storage medium
CN112121417B (en) Event processing method, device, equipment and storage medium in virtual scene
CN111888759A (en) Game skill release method, data processing method and device
TWI793837B (en) Method of controlling virtual object, device, electrical equipment, storage medium, and computer program product
CN112057860B (en) Method, device, equipment and storage medium for activating operation control in virtual scene
CN107930114A (en) Information processing method and device, storage medium, electronic equipment
JP7436707B2 (en) Information processing method, device, device, medium and computer program in virtual scene
JP2023524368A (en) ADAPTIVE DISPLAY METHOD AND DEVICE FOR VIRTUAL SCENE, ELECTRONIC DEVICE, AND COMPUTER PROGRAM
KR20230006517A (en) 2D image display method, apparatus, device and storage medium for virtual objects
JP2020018745A (en) Game system and program
CN114217708B (en) Control method, device, equipment and storage medium for opening operation in virtual scene
WO2022127197A1 (en) Method and system for converting speech into text, and device and medium
CN111078031B (en) Virtual character position determining method, device, equipment and storage medium
JP2023164687A (en) Virtual object control method and apparatus, and computer device and storage medium
KR20170013539A (en) Augmented reality based game system and method
CN113786615B (en) Interaction method, device and terminal
WO2022156629A1 (en) Virtual object control method and apparatus, and electronic device, storage medium and computer program product
CN114130006B (en) Virtual prop control method, device, equipment, storage medium and program product
CN113018862B (en) Virtual object control method and device, electronic equipment and storage medium
CN111921195B (en) Three-dimensional scene generation method and device, storage medium and electronic device
CN111905368B (en) Method, device, equipment and storage medium for controlling virtual prop in game
CN111068322B (en) Object moving method, device, terminal and storage medium
CN114307150A (en) Interaction method, device, equipment, medium and program product between virtual objects
CN113041616A (en) Method and device for controlling jumping display in game, electronic equipment and storage medium
TWI831074B (en) Information processing methods, devices, equipments, computer-readable storage mediums, and computer program products in virtual scene

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant