Com.jplt.cobosoda.Limb

From NYC Resistor Wiki
Jump to: navigation, 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 Limb is a line segment connected to two joints. It's the most basic unit in Cobosoda. Sub-classes may implement fancier behavior. At a minimum a limb has:

  • A fixed length
  • A start and an end joint
  • A list of two the Joints which are connected
  • A reference to the Model to which it belongs

Potential Other Properties[edit]

  • Mass
  • Velocity
  • Acceleration
  • A vector for each end point