View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.1
- Last updated
- First released
- Unity version
- 2019.4.0 or later
- Package size
- 204 KB
- Files
- 34
- Favorites
- 16
- Views in the past week
- 10
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.99 on
Keywords
Simple Weapon Script
These scripts makes any weapon model shootable. Do you have a cool weapon model but no shooting script? Then this asset is for you!
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
Simple Weapon Script screenshot 1
About this asset
Do you have a cool weapon model but no shooting script? Then this asset is for you! Two simple scripts to make weapons shootable; put the WeaponScript on the weapon and the BulletScript on the bullet prefab. Done!
The system is physics based which enables bullet drop over distance depending on the initial force, which is a simple setting.
Features:
* Very easy to make a shootable weapon from any 3D-model
* Support for muzzle flash effects and shooting sound
* Simply change weapon attributes in editor to make different types of weapons
* Attributes: Fire rate, magazine size, reload speed, infinite ammo toggle, bullet velocity... * Demo scene included with grenade launcher (lobbing), submachine gun and hand gun
* Full source code included!
Please observe:
* The bullets are physics based, no ray tracing is used
* It's a lightweight asset with only shooting functionality, no bullet hit, etc.
* This asset will be continuously updated with more features
From the publisher's Asset Store listing.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2022.3.21f1 | Compatible | Compatible | Compatible | Compatible |
| 2019.4.0f1 | Compatible | Compatible | Compatible | Not listed |
As listed on the Asset Store.