Remove scene code in physics servers
Replaced Mesh with mesh RID in Godot Physics 3D and Bullet.
This commit is contained in:
parent
77721b35ba
commit
b8eeb34b4e
11 changed files with 43 additions and 37 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue