History

Default collision shap to hull per submesh instead of static

David Rowe committed 10 years ago

Commit e41d1781 parent 1c6cb9f1 file · +1 −1Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t