Realistic Grenade Trajectory ( Replicated )

This is a realistic grenade trajectory ! With the real gravity & Working in multiplayer !

Category:
Tags: , , , , , , , , , ,

Description

This is a realistic grenade trajectory system which is ready for the multiplayer.

This blueprint system will allow you to generate an extremely precise throwing trajectory preview but also the impulse velocity needed to launch a grenade (or any other object) from a point A to a point B. All this is possible thanks to complex physics and mathematics equations which still remains configurable.

This system is plug and play. However, you will still be able to easily change and configure the mathematical equation in many ways, including :

This system is mostly useful for top down or third person projects but it can also match your game type.

Easy to implement in your project or merge with an existing system ! Only 3 small steps needed !

Step 1 : Copy & paste the SplineGrenade & Grenade Spawn Point From the BP_ThirdPersonCharacter into your player.

Step 2 : Copy & paste the Functions + Code From the BP_ThirdPersonCharacter into your player character.character.

Step 3 : Create the missing variable.

( Floor need to be worldstatic to slow down the grenade when it reaches the floor )

or if you want to modify this go to [ Is Near Ground ? ] function and modify the condition to match your ground collision type.

Technical Details

Number of Blueprints: 3

Input: Keyboard, Mouse

Network Replicated: Yes

Supported Development Platforms:

Documentation: None

Supported Engine Versions

4.27, 5.0 – 5.3