BoxPhysics

From Cosmoteer Wiki
< 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.

Parameters
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 bullet_med has 0.0001, missile_he has 0.1 mine has 2 and ion_beam doesn't use BoxPhysics.

See also

CirclePhysics