프로퍼티 | 타입 | 설명 | |
---|---|---|---|
isBroken | bool | ||
mainBody | |||
parts | List |
||
strength | float |
메소드 | 설명 | |
---|---|---|
BreakableBody ( |
||
BreakableBody ( |
||
breakBody ( ) : void | ||
decompose ( ) : void | ||
onPostSolve ( |
||
update ( ) : void |
public BreakableBody ( |
||
world | ||
shapes | IEnumerable |
|
position | Vector2 | |
rotation | float | |
리턴 | System |
public BreakableBody ( |
||
world | ||
vertices | IEnumerable |
|
density | float | |
position | Vector2 | |
rotation | float | |
리턴 | System |
public onPostSolve ( |
||
contact | ||
impulse | ||
리턴 | void |