#Custom Ballistics Engine

23 messages · Page 1 of 1 (latest)

elfin timber
#

I am currently trying to port my custom Unity ballistics engine to the Operation Harsh Doorstep (OHD) modding SDK.

Main Features of the Unity Ballistics Engine that could be ported:

Internal Ballistics
-Muzzle Velocity
-Recoil Force
External Ballistics
-Drag
-Wind
-Gravity
-Magnus Effect
-Coriolis Effect
-Eotvos Effect
-Gyroscopic Drift
Terminal Ballistics
-Projectile Shrapnel
-Ricochet
-Material Pen
Environmental Simulation
-Wind CFD Simulation

To Be Added (If requested):
NA

Porting Completion:
-Gravity
-Trajectory Velocity Visualizer
-Euler Method
-Continuous Collision Detection

Project Completion: 4%

Currently, OHD is utilizing an Unreal Engine projectile component rather than a custom solution. Therefore, the initial challenge involves creating a basic BP projectile simulation that the OHD SDK can interact with. If anyone that has a greater understanding of the modding SDK and could help with this initial step, that would be greatly appreciated.

cold talon
#

Only problem, there is no way to use C++, only blueprints

elfin timber
cold talon
#

Just wanted to make sure you knew, best of luck! Can't wait to see this in action 😄

elfin timber
#

Implemented First Order Euler Method ODE solver:

elfin timber
#

Gravity and trajectory/velocity visualizer finished:

elfin timber
#

Implemented simple Projectile Material Pen solver:

worn flare
#

good job

elfin timber
spare pelican
restive temple
elfin timber
#

Implemented Inelastic Collision resultant velocity calculations for projectile impact:

#

Ballistic pen demo parameters:
Delta Time: 0.0005 s
Bullet Radius: 0.00278 m
Material Yield Strength: 2200000 Pa
Drag Coefficient: 0.9
Material Density: 2500 kg/m^3
Bullet Mass: 0.003 kg
Material Thickness: ≈0.05m

elfin timber
#

Implemented simple ricochet solver:

#

Next will be finishing of the ricochet solver and creating a damage system similar to the GURPS High-Tech & Ultra-Tech damage models for projectiles.

elfin timber
#

Projectile Ricochet demo using a barebones solver. Currently reached a road block with my full ballistics engine's ricochet solver, as it is way too complex to finish the conversion, given my current understanding of Blueprint.

worthy meadow
elfin timber
#

Not currently. Unfortunately I am only able to work on this in my spare time so updates will be slow. Also most of the stuff that I am currently working on is not visual enough for it to be interesting.