Property | Type | Description | |
---|---|---|---|
Pool | ResourcePool |
Method | Description | |
---|---|---|
AddContact ( Jitter.LinearMath.JVector point1, Jitter.LinearMath.JVector point2, Jitter.LinearMath.JVector normal, float penetration, |
Adds a contact to the arbiter (threadsafe). No more than four contacts are stored in the contactList. When adding a new contact to the arbiter the existing are checked and the best are kept.
|
|
Arbiter ( ) : System |
Initializes a new instance of the Arbiter class.
|
|
Arbiter ( RigidBody body1, RigidBody body2 ) : System |
|
Method | Description | |
---|---|---|
GetCacheEntry ( Jitter.LinearMath.JVector &realRelPos1, float contactBreakThreshold ) : int | ||
MaxAxis ( float x, float y, float z, float w ) : int | ||
ReplaceContact ( Jitter.LinearMath.JVector &point1, Jitter.LinearMath.JVector &point2, Jitter.LinearMath.JVector &n, float p, int index, |
||
SortCachedPoints ( Jitter.LinearMath.JVector &realRelPos1, float pen ) : int |
public AddContact ( Jitter.LinearMath.JVector point1, Jitter.LinearMath.JVector point2, Jitter.LinearMath.JVector normal, float penetration, |
||
point1 | Jitter.LinearMath.JVector | Point on body1. In world space. |
point2 | Jitter.LinearMath.JVector | Point on body2. In world space. |
normal | Jitter.LinearMath.JVector | The normal pointing to body2. |
penetration | float | The estimated penetration depth. |
contactSettings | ||
return |
public Arbiter ( RigidBody body1, RigidBody body2 ) : System | ||
body1 | RigidBody | |
body2 | RigidBody | |
return | System |