C# Class Project290.Physics.Dynamics.BreakableBody

A type of body that supports multiple fixtures that can break apart.
Afficher le fichier Open project: scastle/Solitude Class Usage Examples

Méthodes publiques

Свойство Type Description
Broken bool
MainBody Body
Parts List
Strength float

Méthodes publiques

Méthode Description
Break ( ) : void
BreakableBody ( IEnumerable vertices, World world, float density ) : System
BreakableBody ( IEnumerable vertices, World world, float density, Object userData ) : System
Update ( ) : void

Private Methods

Méthode Description
Decompose ( ) : void
PostSolve ( Contact contact, ContactConstraint impulse ) : void

Method Details

Break() public méthode

public Break ( ) : void
Résultat void

BreakableBody() public méthode

public BreakableBody ( IEnumerable vertices, World world, float density ) : System
vertices IEnumerable
world World
density float
Résultat System

BreakableBody() public méthode

public BreakableBody ( IEnumerable vertices, World world, float density, Object userData ) : System
vertices IEnumerable
world World
density float
userData Object
Résultat System

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

Broken public_oe property

public bool Broken
Résultat bool

MainBody public_oe property

public Body,Project290.Physics.Dynamics MainBody
Résultat Body

Parts public_oe property

public List Parts
Résultat List

Strength public_oe property

public float Strength
Résultat float