File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Runtime/Scripts/Controllers/Robots/Spot Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -186,14 +186,14 @@ void FixedUpdate() {
186186 Vector3 gravity = - FrontGroundNormal * UnityEngine . Physics . gravity . magnitude * 20.2f ;
187187 FrontColliderRigidBody . AddForce ( gravity , ForceMode . Acceleration ) ;
188188 } else {
189- FrontColliderRigidBody . AddForce ( UnityEngine . Physics . gravity * 2 .2f, ForceMode . Acceleration ) ;
189+ FrontColliderRigidBody . AddForce ( UnityEngine . Physics . gravity * 16 .2f, ForceMode . Acceleration ) ;
190190 }
191191
192192 if ( IsRearGrounded == true ) {
193193 Vector3 gravity = - RearGroundNormal * UnityEngine . Physics . gravity . magnitude * 20.2f ;
194194 RearColliderRigidBody . AddForce ( gravity , ForceMode . Acceleration ) ;
195195 } else {
196- RearColliderRigidBody . AddForce ( UnityEngine . Physics . gravity * 2 .2f, ForceMode . Acceleration ) ;
196+ RearColliderRigidBody . AddForce ( UnityEngine . Physics . gravity * 16 .2f, ForceMode . Acceleration ) ;
197197 }
198198
199199 // if (IsFrontGrounded == false || IsRearGrounded == false) {
You can’t perform that action at this time.
0 commit comments