Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -5557,7 +5557,7 @@ void Application::addAssetToWorldAddEntity(QString mapping) { · 5556 unmodified lines | ||
| 5557 | 5557 | properties.setType(EntityTypes::Model); |
| 5558 | 5558 | properties.setName(mapping.right(mapping.length() - 1)); |
| 5559 | 5559 | properties.setModelURL("atp:" + mapping); |
| 5560 | − properties.setShapeType(SHAPE_TYPE_STATIC_MESH); | |
| 5560 | + properties.setShapeType(SHAPE_TYPE_SIMPLE_COMPOUND); | |
| 5561 | 5561 | properties.setDynamic(false); |
| 5562 | 5562 | properties.setPosition(getMyAvatar()->getPosition() + getMyAvatar()->getOrientation() * glm::vec3(0.0f, 0.0f, -2.0f)); |
| 5563 | 5563 | properties.setGravity(glm::vec3(0.0f, 0.0f, 0.0f)); |