Virtual Projectile Trajectory Simulation with Gravity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing technologies for simulating projectile motion in video games do not accurately account for the influence of gravity, resulting in poor accuracy and a lack of realism in the motion trajectory.
Innovation Solution
A method and apparatus for controlling a virtual object to interact with a projectile, which determines the motion trajectory of the projectile by considering its initial position, throwing direction, initial throwing speed, and the motion law of an object under gravity acceleration, resulting in a curved trajectory that accurately simulates real-world motion.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If the motion trajectory is determined using a straight line from initial position to end position, then the calculation is simple, but the accuracy of the trajectory does not conform to the motion law of an object under gravity acceleration
Solution Approach 1:
The patent changes the fundamental parameter of trajectory representation from a straight line (linear motion) to a parabolic curve (curvilinear motion under gravity). By incorporating gravity acceleration as a parameter in the motion trajectory determination, the system calculates the trajectory based on projectile motion physics, where the vertical position is determined by y = y0 + v0y*t - 0.5*g*t^2. This parameter change resolves the contradiction by accepting increased calculation complexity in exchange for physically accurate trajectory representation that conforms to gravity-induced motion laws.
2Ease of operation
If the motion trajectory is displayed to help the user determine throwing direction, then the user experience is improved, but the trajectory does not accurately simulate real-world physics without gravity consideration
Solution Approach 1:
The patent incorporates gravity acceleration as a critical parameter in the trajectory calculation, transforming the displayed motion path from a simplified straight line into a physically accurate parabolic curve. This enables the trajectory prediction to reflect real-world projectile motion, where objects follow curved paths under gravitational influence. The gravity parameter g is integrated into the motion equations, allowing the system to predict the actual flight path that users would observe in real life, thereby simultaneously improving simulation realism and maintaining user experience through accurate visual feedback.
Applied Scientific Principles
This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.
Function Achieved in This Case
The solution improves the accuracy of the projectile's motion trajectory by accounting for gravity, enhancing the realism of the simulated scene and allowing for more precise user interactions.
Implementation Method 1
determining a motion trajectory of the projectile according to the initial position, the throwing direction, an initial throwing speed of the projectile, and a motion law of an object under an influence of gravity acceleration
Data Source
AI summary
Embodiments of this disclosure describe a method and an apparatus for controlling a virtual object to interact with a projectile. The method includes: determining a shooting direction of a camera of the virtual scene as a throwing direction of a projectile controlled by the virtual object; determining a motion trajectory of the projectile according to an initial position, the throwing direction, an initial throwing speed of the projectile, and a motion law of an object under an influence of gravity acceleration, so that the motion trajectory conforms to the motion law; displaying, in the virtual scene, the motion trajectory; adjusting the shooting direction of the camera of the virtual scene, to obtain an adjusted throwing direction of the projectile; updating the motion trajectory of the projectile based on the adjusted throwing projectile; and displaying, in the virtual scene, an updated motion trajectory.


