BoxPhysics
< Modding | Projectile (modding) | Projectile ComponentsModding/Projectile/Components/BoxPhysics
Jump to navigation
Jump to search
Implements BulletPhysics using a box collider.
This means it has all parameters from BulletPhysics, listed in that link, in addition to its own parameters listed below.
Name | Type | Required? | Buffable? | Default value | Description |
---|---|---|---|---|---|
Size | [float, float] | Yes | No | - | The width and height of the collision rectangle. How big the projectile is. |
Density | float | Yes | No | - | Presumably, like for parts, this determines how heavy ( = hard to move) the projectile is, taking its surface area in consideration.
E.g. the small cannon's |