Commit 9968d304 authored by D-AIRY's avatar D-AIRY

Force setup player caps pos

parent f7b4dd0d
......@@ -97,6 +97,7 @@ CBaseCharacter::CBaseCharacter(CEntityManager * pMgr):
m_pCharacter->setFallSpeed(300.0f);
//m_pCharacter->setFallSpeed(30.0f);
m_pCharacter->setMaxPenetrationDepth(0.1f);
m_pGhostObject->setWorldTransform(startTransform);
SPhysics_GetDynWorld()->addCollisionObject(m_pGhostObject, CG_CHARACTER, CG_ALL & ~(CG_DEBRIS | CG_HITBOX | CG_WATER));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment