فهرست منبع

- JoltRecording -> jor in gitignore file
- Added comment about the minimum amount of velocity solver iterations

Jorrit Rouwe 3 سال پیش
والد
کامیت
a92289d6f7
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 1
      .gitignore
  2. 1 0
      Jolt/Physics/PhysicsSettings.h

+ 1 - 1
.gitignore

@@ -4,4 +4,4 @@
 /stats*.html
 /Docs/JoltPhysics.chm
 /Docs/JoltPhysics.chw
-/*.JoltRecording
+/*.jor

+ 1 - 0
Jolt/Physics/PhysicsSettings.h

@@ -71,6 +71,7 @@ struct PhysicsSettings
 	float		mContactPointPreserveLambdaMaxDistSq = Square(0.01f); ///< 1 cm
 
 	/// Number of solver velocity iterations to run
+	/// Note that this needs to be >= 2 in order for friction to work (friction is applied using the non-penetration impulse from the previous iteration)
 	int			mNumVelocitySteps = 10;
 
 	/// Number of solver position iterations to run