MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / Tick

Method Tick

RavEngine_Test/TestEntity.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void TestEntityController::Tick(float scale) {
53
54 //delete entities below y=-30
55 if (transform()->GetWorldPosition().y < -30) {
56 Destroy();
57 }
58}
59
60void TestEntityController::OnColliderEnter(const WeakRef<PhysicsBodyComponent>& other)
61{

Callers

nothing calls this directly

Calls 2

GetWorldPositionMethod · 0.80
transformFunction · 0.50

Tested by

no test coverage detected