Свойство | Type | Description | |
---|---|---|---|
isBroken | bool | ||
mainBody | |||
parts | List |
||
strength | float |
Méthode | Description | |
---|---|---|
BreakableBody ( |
||
BreakableBody ( |
||
breakBody ( ) : void | ||
decompose ( ) : void | ||
onPostSolve ( |
||
update ( ) : void |
public BreakableBody ( |
||
world | ||
shapes | IEnumerable |
|
position | Vector2 | |
rotation | float | |
Résultat | System |
public BreakableBody ( |
||
world | ||
vertices | IEnumerable |
|
density | float | |
position | Vector2 | |
rotation | float | |
Résultat | System |
public onPostSolve ( |
||
contact | ||
impulse | ||
Résultat | void |