Property | Type | Description | |
---|---|---|---|
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 |
Method | Description | |
---|---|---|
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 | |
return | bool |
public MoveDistantBodies ( Vector2 position, float near, float far ) : void | ||
position | Vector2 | |
near | float | |
far | float | |
return | void |
public SetWorldLimits ( Vector2 min, Vector2 max ) : void | ||
min | Vector2 | |
max | Vector2 | |
return | void |