1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-15 13:51:40 +00:00

Remove scene code in physics servers

Replaced Mesh with mesh RID in Godot Physics 3D and Bullet.
This commit is contained in:
PouleyKetchoupp
2021-10-01 08:42:47 -07:00
parent 77721b35ba
commit b8eeb34b4e
11 changed files with 43 additions and 37 deletions

View File

@@ -903,7 +903,7 @@ RID BulletPhysicsServer3D::soft_body_get_space(RID p_body) const {
return space->get_self();
}
void BulletPhysicsServer3D::soft_body_set_mesh(RID p_body, const REF &p_mesh) {
void BulletPhysicsServer3D::soft_body_set_mesh(RID p_body, RID p_mesh) {
SoftBodyBullet *body = soft_body_owner.get_or_null(p_body);
ERR_FAIL_COND(!body);