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

Method Start

RavEngine_Test/PlayerActor.hpp:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 }
25
26 void Start() override {
27 Ref<RavEngine::Entity> owner(getOwner());
28 trans = transform();
29 Ref<RavEngine::World>(GetWorld())->Spawn(cameraEntity);
30 }
31
32 void MoveForward(float amt) {
33 trans->LocalTranslateDelta(scaleMovement(amt) * trans->Forward());

Callers

nothing calls this directly

Calls 3

getOwnerFunction · 0.85
transformFunction · 0.50
SpawnMethod · 0.45

Tested by

no test coverage detected