7.25
Implemented player WASD movement and animation transitions between idle, walking, and jumping with spacebar
Implemented single player camera tracking using Cinemachine
7.26
Implemented dual player control with the same script, Cinemachine split-screen tracking with dual cameras, and camera collision avoidance
Implemented doors that cannot be pushed by players but can be opened and closed through triggers using hinge joints
Basically solved bug: Fixed the issue where pressing spacebar to jump during transitions between idle and walking, or walking and running, couldn't transition to jump animation by adjusting the animator interruption source.
7.29
Created rope using character joints (rope can be batch-generated through custom scripts) and attached it to the player. It has elasticity and can be blocked by obstacles.
Considering the reusability of switch logic in the future, refactored the switch code using interfaces and abstract classes. Subsequent mechanisms/doors/buttons that need switch logic can directly inherit from this.
7.30
Created wind field. Since characters cannot control movement with WASD while in the air, upon entering the wind field, character gravity is canceled and the x, z-axis velocities from the first contact with the wind field are recorded, plus continuous upward buoyancy from the wind field.
Created switches (one-time / reusable) using yesterday's refactored switch code. Implemented switches connected to doors and wind fields.