| 218 | } |
| 219 | |
| 220 | void CCharacterPhysicsSupport::CreateCharacter() |
| 221 | { |
| 222 | // if( m_eType == etBitting ) |
| 223 | // return; |
| 224 | if (m_PhysicMovementControl->CharacterExist()) |
| 225 | return; |
| 226 | CollisionCorrectObjPos(m_EntityAlife.Position(), true); |
| 227 | m_PhysicMovementControl->CreateCharacter(); |
| 228 | m_PhysicMovementControl->SetPhysicsRefObject(&m_EntityAlife); |
| 229 | m_PhysicMovementControl->SetPosition(m_EntityAlife.Position()); |
| 230 | } |
| 231 | void CCharacterPhysicsSupport::SpawnInitPhysics(CSE_Abstract* e) |
| 232 | { |
| 233 | // if(!m_physics_skeleton)CreateSkeleton(m_physics_skeleton); |
nothing calls this directly
no test coverage detected