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

Rename RigidBody to RigidDynamicBody and SoftBody to SoftDynamicBody

This commit is contained in:
PouleyKetchoupp
2021-09-14 11:44:30 -07:00
parent fd17ce1890
commit 85819b199a
45 changed files with 498 additions and 527 deletions

View File

@@ -156,11 +156,6 @@ void Mesh::generate_debug_mesh_indices(Vector<Vector3> &r_points) {
}
}
bool Mesh::surface_is_softbody_friendly(int p_idx) const {
const uint32_t surface_format = surface_get_format(p_idx);
return (surface_format & Mesh::ARRAY_FLAG_USE_DYNAMIC_UPDATE);
}
Vector<Face3> Mesh::get_faces() const {
Ref<TriangleMesh> tm = generate_triangle_mesh();
if (tm.is_valid()) {