C# Class hyades.physics.SpringBody

Inheritance: Body
Mostrar archivo Open project: zfedoran/bubblebound

Public Properties

Property Type Description
edge_damping float
edge_k float
is_constrained bool
shape_damping float
shape_k float
spring_list List
spring_pointmass_list List

Public Methods

Method Description
Add ( Spring spring ) : void
ApplyInternalForces ( double elapsed ) : void
SpringBody ( Shape shape, float mass, float edgeSpringK, float edgeSpringDamp, float shapeSpringK, float shapeSpringDamp ) : System

Method Details

Add() public method

public Add ( Spring spring ) : void
spring Spring
return void

ApplyInternalForces() public method

public ApplyInternalForces ( double elapsed ) : void
elapsed double
return void

SpringBody() public method

public SpringBody ( Shape shape, float mass, float edgeSpringK, float edgeSpringDamp, float shapeSpringK, float shapeSpringDamp ) : System
shape Shape
mass float
edgeSpringK float
edgeSpringDamp float
shapeSpringK float
shapeSpringDamp float
return System

Property Details

edge_damping public_oe property

public float edge_damping
return float

edge_k public_oe property

public float edge_k
return float

is_constrained public_oe property

public bool is_constrained
return bool

shape_damping public_oe property

public float shape_damping
return float

shape_k public_oe property

public float shape_k
return float

spring_list public_oe property

public List spring_list
return List

spring_pointmass_list public_oe property

public List spring_pointmass_list
return List