improve rendering and physics
This commit is contained in:
@@ -54,6 +54,8 @@ void C_BaseModelEntity::UpdateModel()
|
||||
|
||||
FunnyMesh_t *pMesh = g_pAssetManager->GetMeshByIndex(m_pModel->m_hMesh);
|
||||
m_pInstance = g_pWorldRenderer->CreateInstance(pMesh->m_pMesh);
|
||||
m_pInstance->SetPosition({0,0,0});
|
||||
m_pInstance->SetRotation({0,0,0,1});
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user