mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Default collision shap to hull per submesh instead of static
This commit is contained in:
parent
0c6ed67e3b
commit
10490a9fad
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue