diff --git a/src/client/client.cpp b/src/client/client.cpp index 96973c92..8fd44594 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -226,7 +226,7 @@ bool Client::init() { auto sungod_model_path = entity_models_dir / "sungod.obj"; this->sungod_model = std::make_unique(sungod_model_path.string(), true); - auto python_model_path = entity_models_dir / "python.obj"; + auto python_model_path = entity_models_dir / "flying-python.obj"; this->python_model = std::make_unique(python_model_path.string(), true); auto item_model_path = item_models_dir / "item.obj"; @@ -996,6 +996,8 @@ void Client::geometryPass() { case ObjectType::Python: { this->python_model->setDimensions(sharedObject->physics.dimensions); this->python_model->translateAbsolute(sharedObject->physics.getCenterPosition()); + this->python_model->rotateAbsolute(sharedObject->physics.facing); + this->python_model->draw(this->deferred_geometry_shader.get(), this->cam->getPos(), true);