| 23 | } |
| 24 | |
| 25 | void VisualController::onTransformChanged() |
| 26 | { |
| 27 | Controller::onTransformChanged(); |
| 28 | |
| 29 | // Set all created visuals to the same transform as our entity |
| 30 | for (Handle::EntityHandle e : m_VisualEntities) |
| 31 | m_World.getEntity<Components::PositionComponent>(e).m_WorldMatrix = getEntityTransform(); |
| 32 | } |
| 33 | |
| 34 | void VisualController::exportPart(json& j) |
| 35 | { |
no outgoing calls
no test coverage detected