Design and Development of a Physics-Based Catapult Target Practice Game Using Unity: Trajectory Prediction and Collision Detection
Projectile-launching games such as catapult and slingshot titles depend on two ingredients that players rarely notice: a believable flight path and reliable contact between the projectile and its targets. This paper describes the design and development of a catapult target practice game in the Unity engine that treats both ingredients as explicit engi-neering problems. A spring-based launcher converts the pull distance into an initial velocity, a step-matched predictor draws the expected flight path before release, and a swept collision test protects fast projectiles from passing through thin targets. A reference simulation of the same logic is used to compare integration schemes, to quantify the error of ignoring drag, and to measure how often discrete con-tact tests miss a thin barrier at increasing speeds. With a 0.02 s physics step, explicit and semi-implicit Euler step-ping shifted the landing point of a 15 m/s shot by about 0.21 m, while a fourth-order scheme was within 0.001 m of the analytic range. Ignoring a drag coefficient of 0.5 s−1 produced a 10.2 m landing error, and a predictor that re- peats the engine’s own stepping removed it. Discrete testing found a 0.1 m wall on only 21% to 67% of shots at 30 to 90 m/s, while the swept test found every one. Engine-side frame-rate and playtest figures are marked for completion by the authors. Index Terms—Unity, catapult game, trajectory prediction, collision detection, projectile motion, game physics, tun-nelling.
Authors
- Abhishek Abhishek
- Sowjanya R N
- Karna H C
- K Vinayak Patil
- Basavaraj Basavaraj
Publication Details
- Journal
- International Journal of Creative and Open Research in Engineering and Management
- Published
- 2026-11-29
- DOI
- https://doi.org/10.55041/ijcope.v2i11.186
- Primary Topic
- Computer Graphics and Visualization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00