In: |
Springz.rb
|
Each object attached at either end of a Springz spring must include this module (or its equivalent methods).
springz_loc | [RW] | The Springz::Point location for the object |
springz_mass | [RW] | The mass of this object, used to determine how far this object moves compared to others attached to it (see Springz#apply and Springz.use_mass). Does not impart inertia. |
springz_radius | [RW] | The radius of this object, used in collision prevention (see Springz#apply and Springz.uncollide) |