Com.jplt.cobosoda.Joint

From NYC Resistor Wiki
Jump to navigation Jump to search
Cobosoda
Sections
  1. Home
  2. Interfaces
    1. IPart
  3. Classes
    1. Model
    2. Joint
    3. Limb
    4. World
  4. Synth
  5. Task List

[ edit ]

Introduction[edit]

The most basic type of Joint is a mass two which zero or more limbs can connect. It's the most basic unit in Cobosoda. Sub-classes may implement fancier behavior. At a minimum a joint has:

  • Physical space coordinates (x,y)
  • Mass
  • Velocity
  • Acceleration
  • Resultant Force (after one or more forces have been applied)
  • A list of Limbs which are connected
  • A reference to the Model to which it belongs