Compensating for Bullet Drop - Godot 3D - Aim and Target Leading
Автор: Neal Holtschulte
Загружено: 2024-08-14
Просмотров: 860
Описание:
#godot #godot4 #gamedev
01:05 Bullet scripts
02:32 Gun script
05:14 Angle to hit target
10:12 Warning: no calculus
I'll show you how to calculate the angle at which to shoot to compensate for bullet drop AND I integrate that code into existing target lead code. I am not using hitscan weapons. No raycasts are used. All projectiles move through space over time.
This video does build off of a previous video available here: • Hit a Moving Target - Godot 3D Tutorial - ...
All code is available on github: https://github.com/nealholt/TargetLea...
The code relies heavily on the projectile motion equation given here: https://en.wikipedia.org/wiki/Project...)
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: