Raycast Shooting System

Fire Mode :
Each weapon can shoot in different ways, in bursts or single, let's look at what types of shooting are available to us :
Mode
Description
Mute
Shooting without a cartridge in the store.
All
All mods.
Single
Single-shot shooting.
Queue
Firing in a burst.
Free
Shooting in a long burst.
Mute Mode :

When the magazine runs out of ammo, Mute Mode is turned on.
It does not require additional configuration.
Single Mode :

The essence of the mod is that when you click on the firing button, exactly one bullet flies out.
This mod requires additional configuration :
Single Fire Mode Settings :

Name
Description
Fire Rate
The number of shots fired per minute.
Queue Mode :
The essence of the mod is that when you click on the firing button, a certain number of bullets fly out.

This mod requires additional configuration :
Queue Fire Mode Settings :

Name
Description
Fire Rate
The time after which a new bullet will fly out.
Queue Count
How many shots will be in the queue.
Free Mode :
The essence of the mod is that when you press the firing button, the weapon will shoot continuously, until the firing button is released or the cartridges run out.

This mod requires additional configuration :
Free Fire Mode Settings :

Name
Description
Fire Rate
The number of shots fired per minute.
Start Fire Mode :
The mod that will be selected first.
Fire Point :
The point on the model from where the bullets will fly out.

Bullet :
Here we put the bullet we created.
Fire Range :
The distance that the bullet will fly before disappearing. (Get back to the pool)
Culling Layer :
Layers that the bullet will interact with.
Recoil Settings :

Name
Description
Recoil Mapping
Here we put the Recoil Map we created.
Sound Settings :

Fetch Type :
Type
Description
Sequential
Consecutive playback of sounds.
Random
Random playback of sounds.
Shooting when there is a cartridge in the store :

Shooting in the absence of a cartridge in the store :

Effect Settings :

Responsible for the effects when shooting.
Example
When firing, the cartridge case flies out of the chamber or a flame appears on the muzzle from the shot.
Last updated
Was this helpful?