mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Merge pull request #1932 from Faless/gravity_distance_full
Calculate gravity based on distance from body to gravity point
This commit is contained in:
commit
5064cc5006
14 changed files with 70 additions and 6 deletions
|
|
@ -657,6 +657,7 @@ void Physics2DServer::_bind_methods() {
|
|||
BIND_CONSTANT( AREA_PARAM_GRAVITY );
|
||||
BIND_CONSTANT( AREA_PARAM_GRAVITY_VECTOR );
|
||||
BIND_CONSTANT( AREA_PARAM_GRAVITY_IS_POINT );
|
||||
BIND_CONSTANT( AREA_PARAM_GRAVITY_DISTANCE_SCALE );
|
||||
BIND_CONSTANT( AREA_PARAM_GRAVITY_POINT_ATTENUATION );
|
||||
BIND_CONSTANT( AREA_PARAM_LINEAR_DAMP);
|
||||
BIND_CONSTANT( AREA_PARAM_ANGULAR_DAMP);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue