From 10490a9fadd170533c9d58b2f21e48e6ae0b247a Mon Sep 17 00:00:00 2001 From: David Rowe Date: Wed, 2 Nov 2016 10:45:00 +1300 Subject: [PATCH] Default collision shap to hull per submesh instead of static --- interface/src/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index bc7820879c..a11909c948 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -5419,7 +5419,7 @@ void Application::addAssetToWorldAddEntity(QString mapping) { properties.setType(EntityTypes::Model); properties.setName(mapping.right(mapping.length() - 1)); properties.setModelURL("atp:" + mapping); - properties.setShapeType(SHAPE_TYPE_STATIC_MESH); + properties.setShapeType(SHAPE_TYPE_SIMPLE_COMPOUND); properties.setDynamic(false); properties.setPosition(getMyAvatar()->getPosition() + getMyAvatar()->getOrientation() * glm::vec3(0.0f, 0.0f, -2.0f)); properties.setGravity(glm::vec3(0.0f, 0.0f, 0.0f));