Edit of asset "Deflection (ballistics) Formula" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Deflection (ballistics) Formula | Deflection (ballistics) Formula |
Description |
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 |
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 |
Category | Scripts | Scripts |
License | MIT | MIT |
Repository Provider | GitHub | GitHub |
Repository Url | https://github.com/neclor/deflection-ballistics-formula-godot | https://github.com/neclor/deflection-ballistics-formula-godot |
Issues Url | https://github.com/neclor/deflection-ballistics-formula-godot/issues | https://github.com/neclor/deflection-ballistics-formula-godot/issues |
Godot version | Godot 4.0 | Godot 4.0 |
Version String | 1.0.0 | 1.0.0 |
Download Commit | 154f30390d7ec024a4bc9dcdacd4fc368c12efb4 | 47909a6e82187094129e48f93b39470b4c628eb8 |
Download Url (Computed) | https://github.com/neclor/deflection-ballistics-formula-godot/archive/154f30390d7ec024a4bc9dcdacd4fc368c12efb4.zip | https://github.com/neclor/deflection-ballistics-formula-godot/archive/47909a6e82187094129e48f93b39470b4c628eb8.zip |
Icon Url |
https://raw.githubusercontent.com/neclor/deflection-ballistics-formula-godot/main/docs/icon.png
|
https://raw.githubusercontent.com/neclor/deflection-ballistics-formula-godot/main/docs/icon.png
|