|
2D Shooter Bullet and Weapon System for Unity 3.0.0
|
ECS component holding bullet movement and collision data. More...
Public Attributes | |
| float | Speed |
| float | DirectionAngle |
| float | BulletXPosition |
| float | BulletYPosition |
| float | Amplitude |
| float | FrequencyIncrement |
| float | Frequency |
| bool | CanRicochet |
| Whether this bullet can ricochet (rolled at spawn/hit). | |
| float | RicochetChancePercent |
| Chance to ricochet (0-100), used when re-rolling after a ricochet. | |
ECS component holding bullet movement and collision data.
Used with DOTS for high-performance bullet simulation.
| float BulletComponent.Amplitude |
| float BulletComponent.BulletXPosition |
| float BulletComponent.BulletYPosition |
| bool BulletComponent.CanRicochet |
Whether this bullet can ricochet (rolled at spawn/hit).
| float BulletComponent.DirectionAngle |
| float BulletComponent.Frequency |
| float BulletComponent.FrequencyIncrement |
| float BulletComponent.RicochetChancePercent |
Chance to ricochet (0-100), used when re-rolling after a ricochet.
| float BulletComponent.Speed |