Add WASD character controller with jump and slope sliding
- Add PlayerCharacterController script: CharacterController-based movement (camera-relative WASD), jump, gravity, rotate-toward-movement and slope sliding so the player slides off surfaces/edges steeper than the slope limit instead of balancing on them. - Update SampleScene: add Player (with CharacterController), ground plane and obstacle cubes; parent the paintable paintman_UV under the Player. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
fa4474f6d4
commit
792c8c964f
3 files changed
+649
-10
No files matched your search
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 463b6be548abf464287096e1e92fcd01
|
||||
Reference in new issue
Block a user