More explanatory names for RigidBody modes
MODE_DYNAMIC instead of MODE_RIGID MODE_DYNAMIC_LOCKED instead of MODE_CHARACTER No more special case for sleeping behavior for MODE_DYNAMIC_LOCKED (MODE_CHARACTER was forcing the body not to sleep, which is redundant with can_sleep and wasn't done in Bullet).
This commit is contained in:
parent
287c3900fd
commit
ee4b756a51
26 changed files with 97 additions and 121 deletions
|
|
@ -717,8 +717,8 @@ void PhysicsServer3D::_bind_methods() {
|
|||
|
||||
BIND_ENUM_CONSTANT(BODY_MODE_STATIC);
|
||||
BIND_ENUM_CONSTANT(BODY_MODE_KINEMATIC);
|
||||
BIND_ENUM_CONSTANT(BODY_MODE_RIGID);
|
||||
BIND_ENUM_CONSTANT(BODY_MODE_CHARACTER);
|
||||
BIND_ENUM_CONSTANT(BODY_MODE_DYNAMIC);
|
||||
BIND_ENUM_CONSTANT(BODY_MODE_DYNAMIC_LOCKED);
|
||||
|
||||
BIND_ENUM_CONSTANT(BODY_PARAM_BOUNCE);
|
||||
BIND_ENUM_CONSTANT(BODY_PARAM_FRICTION);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue