-Fix disable_3d flag
-Add extra flag optimize=[size,speed] to be able to prioritize size
This commit is contained in:
@ -400,6 +400,8 @@ void PhysicsShapeQueryResult::_bind_methods() {
|
||||
|
||||
void PhysicsServer::_bind_methods() {
|
||||
|
||||
#ifndef _3D_DISABLED
|
||||
|
||||
ClassDB::bind_method(D_METHOD("shape_create", "type"), &PhysicsServer::shape_create);
|
||||
ClassDB::bind_method(D_METHOD("shape_set_data", "shape", "data"), &PhysicsServer::shape_set_data);
|
||||
|
||||
@ -737,6 +739,8 @@ void PhysicsServer::_bind_methods() {
|
||||
BIND_ENUM_CONSTANT(BODY_AXIS_ANGULAR_X);
|
||||
BIND_ENUM_CONSTANT(BODY_AXIS_ANGULAR_Y);
|
||||
BIND_ENUM_CONSTANT(BODY_AXIS_ANGULAR_Z);
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
PhysicsServer::PhysicsServer() {
|
||||
|
||||
Reference in New Issue
Block a user