Property | Type | Description | |
---|---|---|---|
isBroken | bool | ||
mainBody | |||
parts | List |
||
strength | float |
Method | Description | |
---|---|---|
BreakableBody ( |
||
BreakableBody ( |
||
breakBody ( ) : void | ||
decompose ( ) : void | ||
onPostSolve ( |
||
update ( ) : void |
public BreakableBody ( |
||
world | ||
shapes | IEnumerable |
|
position | Vector2 | |
rotation | float | |
return | System |
public BreakableBody ( |
||
world | ||
vertices | IEnumerable |
|
density | float | |
position | Vector2 | |
rotation | float | |
return | System |
public onPostSolve ( |
||
contact | ||
impulse | ||
return | void |