Bullets and Bullet Drop


For Coding 2 I had to design a Bullet Drop simulation function within the third person player controller.

The function requires a Bullet Force, Sim Time, and a Start Location to work.

The function uses a timer to create a line trace that simulates bullet drop by adding gravity to the overall bullet force.

Bullet Force: How fast the bullet travels between each line trace is made.

Sim Time: The amount of time between each line trace.

Start Location: The place the line tracing begins.

The Code is shown Below:

Bullet_Drop_Action posted by AlanDiOrange | blueprintUE | PasteBin For Unreal Engine

Bullet_Drop_Shoot posted by AlanDiOrange | blueprintUE | PasteBin For Unreal Engine

Bullet_Drop_Create posted by AlanDiOrange | blueprintUE | PasteBin For Unreal Engine

Get Game Design 3 and Coding 2

Leave a comment

Log in with itch.io to leave a comment.