Edit of asset "Ballistic Solutions (GDScript, C#)" Accepted
| Old/Current | New/Edit | |
|---|---|---|
| Title | Ballistic Solutions (GDScript, C#) | |
| Description |
Library for calculating interception times, impact positions, and firing vectors, taking into account the velocities and accelerations of both projectile and target. Quickstart 1. Install the addon in Godot or reference the DLL in your C# project. 2. In your scene, compute the vector to the target: `var to_target = target.global_position - global_position` 3. Call `best_firing_velocity` to get initial projectile velocity. 4. Instantiate your projectile and assign velocity and acceleration. Warning Godot Physics Consideration: Godot applies linear damping to physics bodies by default, which gradually reduces object velocity. This can significantly affect ballistic accuracy if not properly accounted for. Recommendations: - Set default_linear_damp = 0 in the project settings, if you want pure projectile motion - Test thoroughly with your specific physics settings |
Library for calculating interception times, impact positions, and firing vectors, taking into account the velocities and accelerations of both projectile and target. Quickstart 1. Install the addon in Godot or reference the DLL in your C# project. 2. In your scene, compute the vector to the target: `var to_target = target.global_position - global_position` 3. Call `best_firing_velocity` to get initial projectile velocity. 4. Instantiate your projectile and assign velocity and acceleration. Warning Godot Physics Consideration: Godot applies linear damping to physics bodies by default, which gradually reduces object velocity. This can significantly affect ballistic accuracy if not properly accounted for. Recommendations: - Set default_linear_damp = 0 in the project settings, if you want pure projectile motion - Test thoroughly with your specific physics settings |
| Category | Scripts | |
| License | MIT | |
| Repository Provider | GitHub | |
| Repository Url | https://github.com/neclor/ballistic-solutions | |
| Issues Url | https://github.com/neclor/ballistic-solutions/issues | |
| Godot version | Godot 4.0 | |
| Version String | 4.0.1 | |
| Download Commit | ede88e056e566e707deb9a57eacb84628021aebb | ede88e056e566e707deb9a57eacb84628021aebb |
| Download Url (Computed) | https://github.com/neclor/ballistic-solutions/archive/ede88e056e566e707deb9a57eacb84628021aebb.zip | https://github.com/neclor/ballistic-solutions/archive/ede88e056e566e707deb9a57eacb84628021aebb.zip |
| Icon Url |
https://raw.githubusercontent.com/neclor/ballistic-solutions/main/icon.png
|
|
| Preview Update | ||
|---|---|---|
| Type | image | |
| Image/Video URL |
https://raw.githubusercontent.com/neclor/ballistic-deflection-calculator-godot/main/docs/screenshot.png
|
|
| Thumbnail |
Notice: Undefined index: thumbnail in /var/www/asset-library.godotengine.org/public/templates/asset_edit.phtml on line 165 |
|
| Preview Insert | ||
|---|---|---|
| Type | image | |
| Image/Video URL |
https://raw.githubusercontent.com/neclor/ballistic-deflection-calculator-godot/main/docs/screenshot_3d.png
|
|
| Thumbnail |
|
|