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

Method GetPhysicsTransform

Source/Objects/itemobject.cpp:958–962  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956}
957
958mat4 ItemObject::GetPhysicsTransform() {
959 mat4 transform = bullet_object_->GetTransform();
960 // transform.AddTranslation(transform.GetRotatedvec3(phys_offset)*-1.0f);
961 return transform;
962}
963
964mat4 ItemObject::GetPhysicsTransformIncludeOffset() {
965 mat4 transform = bullet_object_->GetTransform();

Callers

nothing calls this directly

Calls 1

GetTransformMethod · 0.45

Tested by

no test coverage detected