Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CCharacterHitBox* pHitBox = (CCharacterHitBox *)g_pLTServer->CreateObject(hClass, &theStruct);
- if (!pHitBox) return;
- m_hHitBox = pHitBox->m_hObject;
- pHitBox->Init(m_hObject, this);
- pHitBox->SetCanActivate(LTTRUE);
- pHitBox->SetCanBeSearched(CanBeSearched());
- if (m_hHitBox)
- {
- LTVector vDims;
- g_pPhysicsLT->GetObjectDims(m_hObject, &vDims);
- g_pPhysicsLT->SetObjectDims(m_hHitBox, &vDims,0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement