EasyBallistics Plugin

mookie - 代码插件 - 2021/04/06

Simple and realistic ballistics simulation plugin.

  • 支持的平台
  • 支持的引擎版本
    4.12 - 4.27, 5.0
  • 下载类型

Preview: youtube.com/watch?v=LZwFdqcqY3A

Works with both Blueprint and C++


Bullet actor:

-External ballistics - simulating, gravity, drag, wind

-Travel time


-Wall penetration

-Affected by physics material

-Ballistic curves and variable air density

-Object Pooling

Emitter component:

-Multile fire modes - automatic, semiauto, burst, manual charge

-Cone and velocity spread

-Unloading and reloading, optionally retaining chambered bullet

-Magazines can contain multiple bullet types

-Multiple submunitions per shot (shotgun)

-Full multiplayer support with custom movement replication.

-Example project included


Works by doing line traces along the path of the bullet. On impact it does additional forward or back trace to check the thickness of the obstacle and passes through if it isn't too thick. Plugin also includes a "barrel" component that handles spawning bullet actors. Bullet actors have custom replication code that only synchronizes their locations and velocities on impact, the rest is locally predicted.

Example Project: drive.google.com/open?id=0B20tIRBAcOlsLXB0WUxVaGhJd2s
Tutorial Playlist: youtube.com/playlist?list=PLpdNKDbSpbwWSuayxEXsQc63Znn9WpQv4