# Bullet

Used for Bullets instantiated by the Player only

This script must be attached to the projectile of a Projectile Shoot Style Weapon. Let´s take a look at the provided Rocket Launcher.  As you can see, it only accepts Prefabs with the Bullet component attached as a reference for the projectile.

<figure><img src="https://2716441118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkdlNMXOYYmupb4VpBGHT%2Fuploads%2FXkZTcYWsXroBpW0JjeJA%2Fimage.png?alt=media&#x26;token=4f4bbbb2-da7c-4a7a-852e-d10a7c906725" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2716441118-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkdlNMXOYYmupb4VpBGHT%2Fuploads%2FyPPwO3dV4KTa9AC2JBSQ%2Fimage.png?alt=media&#x26;token=d50fffb7-211c-4046-b9c8-292809fb0811" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
This projectile must have a Trigger Collider assigned as well, otherwise no collision will be detected.
{% endhint %}

{% hint style="info" %}
You can see the BulletTest example under the following path:\
Assets/Cowsins/Prefabs/Projectiles
{% endhint %}

{% hint style="info" %}
To create new projectiles, you can just duplicate the BulletTest prefab and modify the graphics inside.
{% endhint %}
