Class Summary | |
case class
|
DistanceJoint
(val node1 : Body, val anchor1 : Vector2D, val node2 : Body, val anchor2 : Vector2D) extends Joint with scala.Product
DistanceJoints halten die Bindungspunkte auf ihren Bindungskoerpern bei einem konstanten Abstand.
|
trait
|
ForceJoint
extends AnyRef
Eine Verbindung die Kraft auf ihre Bindungskoerper ausueben kann.
|
abstract class
|
Joint
extends Constraint with AnyRef
Joints sind Verbindungen die die Bewegung zwischen zwei Koerpern einschraenken.
Ihre Implementierung wurde von Erin Catto's box2d inspiriert.
|
case class
|
RevoluteJoint
(val node1 : Body, val node2 : Body, val anchor : Vector2D) extends Joint with scala.Product
Ein Gelenk, dass zwei Koerper an einem Punkt verbindet. Inspiriert von JBox2D.
|
case class
|
SpringJoint
(val node1 : Body, val anchor1 : Vector2D, val node2 : Body, val anchor2 : Vector2D, val springConstant : Double, val initialLength : Double) extends Joint with ForceJoint with scala.Product
Eine Hooksche Feder.
|
Object Summary | |
object
|
DistanceJoint
extends (Body, Vector2D, Body, Vector2D) => DistanceJoint
|
object
|
RevoluteJoint
extends (Body, Body, Vector2D) => RevoluteJoint
|
object
|
SpringJoint
extends (Body, Vector2D, Body, Vector2D, Double, Double) => SpringJoint
|