@@ -121,11 +121,13 @@ EcctrlProps: {
121
121
capsuleHalfHeight: 0.35 , // Half-height of the character capsule
122
122
capsuleRadius: 0.3 , // Radius of the character capsule
123
123
floatHeight: 0.3 , // Height of the character when floating
124
+ characterInitDir: 0 , // Character initial facing direction (in rad)
124
125
followLight: false , // Enable follow light mode
125
126
// Follow camera setups
126
127
camInitDis: - 5 , // Initial camera distance
127
128
camMaxDis: - 7 , // Maximum camera distance
128
129
camMinDis: - 0.7 , // Minimum camera distance
130
+ camInitDir: 0 , // Camera initial position direction (in rad)
129
131
// Base control setups
130
132
maxVelLimit: 2.5 , // Maximum velocity limit
131
133
turnVelMultiplier: 0.2 , // Turn velocity multiplier
@@ -152,7 +154,7 @@ EcctrlProps: {
152
154
// Slope Ray setups
153
155
showSlopeRayOrigin: false , // Show slope ray origin
154
156
slopeMaxAngle = 1 , // in rad, the max walkable slope angle
155
- slopeRayOriginOffest: capsuleRadius - 0.02 , // Slope ray origin offset
157
+ slopeRayOriginOffest: capsuleRadius - 0.03 , // Slope ray origin offset
156
158
slopeRayLength: capsuleRadius + 3 , // Slope ray length
157
159
slopeRayDir: { x: 0 , y: - 1 , z: 0 }, // Slope ray direction
158
160
slopeUpExtraForce: 0.1 , // Slope up extra force
0 commit comments