mirror of
https://github.com/godotengine/godot.git
synced 2024-11-23 04:33:29 +00:00
parent
20b07a1fb5
commit
8de4df3fe2
@ -467,6 +467,7 @@ void SpaceBullet::add_rigid_body(RigidBodyBullet *p_body) {
|
||||
dynamicsWorld->addCollisionObject(p_body->get_bt_rigid_body(), p_body->get_collision_layer(), p_body->get_collision_mask());
|
||||
} else {
|
||||
dynamicsWorld->addRigidBody(p_body->get_bt_rigid_body(), p_body->get_collision_layer(), p_body->get_collision_mask());
|
||||
p_body->scratch_space_override_modificator();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user