## Install Asset

### Install via Godot

To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser

## Quick Information

Function on GDScript for calculating the vector of an “intercepting” shot, considering “external” accelerations.UsingFunction take bullet speed, target position, target velocity and optional(target_acceleration, bullet_acceleration), and returns an vector of length bullet speed.If a hit is not possible, the function will return a zero vector.WarningAlso used an addon for solving equations. (https://godotengine.org/asset-library/asset/2998)Functions in current versionvector2(bullet_speed: float, target_position: Vector2, target_velocity: Vector2, target_acceleration: Vector2 = Vector2.ZERO, bullet_acceleration: Vector2 = Vector2.ZERO) -> Vector2vector3(bullet_speed: float, target_position: Vector3, target_velocity: Vector3, target_acceleration: Vector3 = Vector3.ZERO, bullet_acceleration: Vector3 = Vector3.ZERO) -> Vector3

Function on GDScript for calculating the vector of an “intercepting” shot, considering “external” accelerations.

Using

Function take bullet speed, target position, target velocity and optional(target_acceleration, bullet_acceleration), and returns an vector of length bullet speed.

If a hit is not possible, the function will return a zero vector.

Warning

Also used an addon for solving equations. (https://godotengine.org/asset-library/asset/2998)

Functions in current version

vector2(bullet_speed: float, target_position: Vector2, target_velocity: Vector2, target_acceleration: Vector2 = Vector2.ZERO, bullet_acceleration: Vector2 = Vector2.ZERO) -> Vector2

vector3(bullet_speed: float, target_position: Vector3, target_velocity: Vector3, target_acceleration: Vector3 = Vector3.ZERO, bullet_acceleration: Vector3 = Vector3.ZERO) -> Vector3

## Reviews

## Quick Information

Function on GDScript for calculating the vector of an “intercepting” shot, considering “external” accelerations.UsingFunction take bullet speed, target position, target velocity and optional(target_acceleration, bullet_acceleration), and returns an vector of length bullet speed.If a hit is not possible, the function will return a zero vector.WarningAlso used an addon for solving equations. (https://godotengine.org/asset-library/asset/2998)Functions in current versionvector2(bullet_speed: float, target_position: Vector2, target_velocity: Vector2, target_acceleration: Vector2 = Vector2.ZERO, bullet_acceleration: Vector2 = Vector2.ZERO) -> Vector2vector3(bullet_speed: float, target_position: Vector3, target_velocity: Vector3, target_acceleration: Vector3 = Vector3.ZERO, bullet_acceleration: Vector3 = Vector3.ZERO) -> Vector3