MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / SetPhysicsRefObject

Method SetPhysicsRefObject

ogsr_engine/xrGame/PHActorCharacter.cpp:136–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 m_character = NULL;
135}
136void CPHActorCharacter::SetPhysicsRefObject(CPhysicsShellHolder* ref_object)
137{
138 inherited::SetPhysicsRefObject(ref_object);
139 RESTRICTOR_I i = begin(m_restrictors), e = end(m_restrictors);
140 for (; e != i; ++i)
141 {
142 (*i)->SetPhysicsRefObject(ref_object);
143 }
144}
145void SPHCharacterRestrictor::SetPhysicsRefObject(CPhysicsShellHolder* ref_object)
146{
147 if (m_character)

Callers 2

reinitMethod · 0.45
CreateCharacterMethod · 0.45

Calls 3

beginFunction · 0.50
endFunction · 0.50

Tested by

no test coverage detected