Tutorial: First Person Camera and Controls
Cocos
JANUARY 27, 2023
First Person Demo.zip (3.3 private playerHeight = 2; private nodePos: Vec3 = new Vec3(); private nodeDeltaPos: Vec3 = new Vec3(0, 0, 0); /* End Local Variables */ start() { globalVars.character = this; input.on(Input.EventType.KEY_DOWN, Making the player control more conventionally. angle(out, Vec3.UP)
Let's personalize your content