프로퍼티 | 타입 | 설명 | |
---|---|---|---|
aabb | |||
body_list | List | ||
cell | Vector2 | ||
chain_list | List |
||
collision_list | List |
||
elasticity | float | ||
friction | float | ||
on_aabb_collision | Body>.Action | ||
on_collision | Action | ||
on_penetration | Body>.Action | ||
penetration_count | int | ||
penetration_threshold | float | ||
size | Vector2 |
메소드 | 설명 | |
---|---|---|
Add ( |
||
Add ( |
||
Initialize ( ) : void | ||
IsPointInsideAnyBody ( Vector2 point ) : bool | ||
MoveDistantBodies ( Vector2 position, float near, float far ) : void | ||
Physics ( ) : System | ||
Remove ( |
||
Remove ( |
||
SetWorldLimits ( Vector2 min, Vector2 max ) : void | ||
Update ( double elapsed ) : void | ||
UpdateBitmask ( |
public IsPointInsideAnyBody ( Vector2 point ) : bool | ||
point | Vector2 | |
리턴 | bool |
public MoveDistantBodies ( Vector2 position, float near, float far ) : void | ||
position | Vector2 | |
near | float | |
far | float | |
리턴 | void |
public SetWorldLimits ( Vector2 min, Vector2 max ) : void | ||
min | Vector2 | |
max | Vector2 | |
리턴 | void |