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

Method GroundNormal

ogsr_engine/xrGame/PHSimpleCharacter.cpp:1580–1590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1578 }
1579}
1580void CPHSimpleCharacter::GroundNormal(Fvector& norm)
1581{
1582 if (m_elevator_state.ClimbingState())
1583 {
1584 m_elevator_state.GetLeaderNormal(norm);
1585 }
1586 else
1587 {
1588 norm.set(*((Fvector*)m_ground_contact_normal));
1589 }
1590}
1591u16 CPHSimpleCharacter::ContactBone() { return RetriveContactBone(); }
1592void CPHSimpleCharacter::SetMaterial(u16 material)
1593{

Callers

nothing calls this directly

Calls 3

ClimbingStateMethod · 0.80
GetLeaderNormalMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected