MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetFacing

Method GetFacing

Source/Objects/movementobject.cpp:1172–1174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1170}
1171
1172vec3 MovementObject::GetFacing() {
1173 return rigged_object_->anim_client.GetRotationMatrix() * vec3(0.0f, 0.0f, 1.0f);
1174}
1175
1176void MovementObject::Ragdoll() {
1177 if (!rigged_object_->animated) {

Callers 15

SendPlayerCameraStateMethod · 0.80
MovementObjectUpdateMethod · 0.80
DrawFlareMethod · 0.80
OcclusionQueryMethod · 0.80
DrawCollisionMethod · 0.80
DrawNavMeshMethod · 0.80
DrawGPUParticleFieldFunction · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
UpdateShadowCascadesFunction · 0.80
DrawWeaponConnectionUIFunction · 0.80
GetCamBasisFunction · 0.80

Calls 1

vec3Class · 0.50

Tested by

no test coverage detected