@@ -1050,10 +1050,15 @@ namespace UserConfigParams
1050
1050
&m_camera_normal,
1051
1051
" Angle between camera and plane of kart (pitch) when the camera is pointing forward" ));
1052
1052
1053
- PARAM_PREFIX BoolUserConfigParam m_camera_forward_smoothing
1054
- PARAM_DEFAULT ( BoolUserConfigParam( true , " forward-smoothing " ,
1053
+ PARAM_PREFIX FloatUserConfigParam m_camera_forward_smooth_position
1054
+ PARAM_DEFAULT ( FloatUserConfigParam( 0.2 , " forward-smooth-position " ,
1055
1055
&m_camera_normal,
1056
- " if true, use smoothing (forward-up-angle become relative to speed) when pointing forward" ));
1056
+ " The strength of smoothness of the position of the camera" ));
1057
+
1058
+ PARAM_PREFIX FloatUserConfigParam m_camera_forward_smooth_rotation
1059
+ PARAM_DEFAULT ( FloatUserConfigParam(0.125 , " forward-smooth-rotation" ,
1060
+ &m_camera_normal,
1061
+ " The strength of smoothness of the rotation of the camera" ));
1057
1062
1058
1063
PARAM_PREFIX FloatUserConfigParam m_camera_backward_distance
1059
1064
PARAM_DEFAULT ( FloatUserConfigParam(2.0 , " backward-distance" ,
@@ -1095,10 +1100,15 @@ namespace UserConfigParams
1095
1100
&m_standard_camera_settings,
1096
1101
" Angle between camera and plane of kart (pitch) when the camera is pointing forward" ));
1097
1102
1098
- PARAM_PREFIX BoolUserConfigParam m_standard_camera_forward_smoothing
1099
- PARAM_DEFAULT ( BoolUserConfigParam(true , " forward-smoothing" ,
1103
+ PARAM_PREFIX FloatUserConfigParam m_standard_camera_forward_smooth_position
1104
+ PARAM_DEFAULT ( FloatUserConfigParam(0.2 , " forward-smooth-position" ,
1105
+ &m_standard_camera_settings,
1106
+ " The strength of smoothness of the position of the camera" ));
1107
+
1108
+ PARAM_PREFIX FloatUserConfigParam m_standard_camera_forward_smooth_rotation
1109
+ PARAM_DEFAULT ( FloatUserConfigParam(0.125 , " forward-smooth-rotation" ,
1100
1110
&m_standard_camera_settings,
1101
- " if true, use smoothing (forward-up-angle become relative to speed) when pointing forward " ));
1111
+ " The strength of smoothness of the rotation of the camera " ));
1102
1112
1103
1113
PARAM_PREFIX FloatUserConfigParam m_standard_camera_backward_distance
1104
1114
PARAM_DEFAULT ( FloatUserConfigParam(2.0 , " backward-distance" ,
@@ -1136,10 +1146,15 @@ namespace UserConfigParams
1136
1146
&m_drone_camera_settings,
1137
1147
" Angle between camera and plane of kart (pitch) when the camera is pointing forward" ));
1138
1148
1139
- PARAM_PREFIX BoolUserConfigParam m_drone_camera_forward_smoothing
1140
- PARAM_DEFAULT ( BoolUserConfigParam(false , " forward-smoothing" ,
1149
+ PARAM_PREFIX FloatUserConfigParam m_drone_camera_forward_smooth_position
1150
+ PARAM_DEFAULT ( FloatUserConfigParam(0.0 , " forward-smooth-position" ,
1151
+ &m_drone_camera_settings,
1152
+ " The strength of smoothness of the position of the camera" ));
1153
+
1154
+ PARAM_PREFIX FloatUserConfigParam m_drone_camera_forward_smooth_rotation
1155
+ PARAM_DEFAULT ( FloatUserConfigParam(0.0 , " forward-smooth-rotation" ,
1141
1156
&m_drone_camera_settings,
1142
- " if true, use smoothing (forward-up-angle become relative to speed) when pointing forward " ));
1157
+ " The strength of smoothness of the rotation of the camera " ));
1143
1158
1144
1159
PARAM_PREFIX FloatUserConfigParam m_drone_camera_backward_distance
1145
1160
PARAM_DEFAULT ( FloatUserConfigParam(2.0 , " backward-distance" ,
@@ -1168,19 +1183,24 @@ namespace UserConfigParams
1168
1183
" Saved custom camera settings for player." ) );
1169
1184
1170
1185
PARAM_PREFIX FloatUserConfigParam m_saved_camera_distance
1171
- PARAM_DEFAULT ( FloatUserConfigParam(1.0 , " distance" ,
1186
+ PARAM_DEFAULT ( FloatUserConfigParam(1.5 , " distance" ,
1172
1187
&m_saved_camera_settings,
1173
1188
" Distance between kart and camera" ));
1174
1189
1175
1190
PARAM_PREFIX FloatUserConfigParam m_saved_camera_forward_up_angle
1176
- PARAM_DEFAULT ( FloatUserConfigParam(0 , " forward-up-angle" ,
1191
+ PARAM_DEFAULT ( FloatUserConfigParam(25 , " forward-up-angle" ,
1177
1192
&m_saved_camera_settings,
1178
1193
" Angle between camera and plane of kart (pitch) when the camera is pointing forward" ));
1179
1194
1180
- PARAM_PREFIX BoolUserConfigParam m_saved_camera_forward_smoothing
1181
- PARAM_DEFAULT ( BoolUserConfigParam( true , " forward-smoothing " ,
1195
+ PARAM_PREFIX FloatUserConfigParam m_saved_camera_forward_smooth_position
1196
+ PARAM_DEFAULT ( FloatUserConfigParam( 0.1 , " forward-smooth-position " ,
1182
1197
&m_saved_camera_settings,
1183
- " if true, use smoothing (forward-up-angle become relative to speed) when pointing forward" ));
1198
+ " The strength of smoothness of the position of the camera" ));
1199
+
1200
+ PARAM_PREFIX FloatUserConfigParam m_saved_camera_forward_smooth_rotation
1201
+ PARAM_DEFAULT ( FloatUserConfigParam(0.125 , " forward-smooth-rotation" ,
1202
+ &m_saved_camera_settings,
1203
+ " The strength of smoothness of the rotation of the camera" ));
1184
1204
1185
1205
PARAM_PREFIX FloatUserConfigParam m_saved_camera_backward_distance
1186
1206
PARAM_DEFAULT ( FloatUserConfigParam(2.0 , " backward-distance" ,
@@ -1193,7 +1213,7 @@ namespace UserConfigParams
1193
1213
" Angle between camera and plane of kart (pitch) when the camera is pointing backwards. This is usually larger than the forward-up-angle, since the kart itself otherwise obstricts too much of the view" ));
1194
1214
1195
1215
PARAM_PREFIX IntUserConfigParam m_saved_camera_fov
1196
- PARAM_DEFAULT ( IntUserConfigParam(80 , " fov" ,
1216
+ PARAM_DEFAULT ( IntUserConfigParam(85 , " fov" ,
1197
1217
&m_saved_camera_settings,
1198
1218
" Focal distance (single player)" ));
1199
1219
0 commit comments