Tutorial: First Person Camera and Controls
Cocos
JANUARY 27, 2023
First Person Demo.zip (3.3 Use this for your player script: import { _decorator, Component, Node, game, input, Input, KeyCode, EventKeyboard, Vec3, CapsuleCollider, ICollisionEvent, RigidBody } from 'cc'; import { globalVars } from '. Making the player control more conventionally. angle(out, Vec3.UP)
Let's personalize your content