public static Detect ( ISupportMappable support1, ISupportMappable support2, Jitter.LinearMath.JMatrix &orientation1, Jitter.LinearMath.JMatrix &orientation2, Jitter.LinearMath.JVector &position1, Jitter.LinearMath.JVector &position2, Jitter.LinearMath.JVector &point, Jitter.LinearMath.JVector &normal, float &penetration ) : bool |
support1 |
ISupportMappable |
The SupportMappable implementation of the first shape to test. |
support2 |
ISupportMappable |
The SupportMappable implementation of the seconds shape to test. |
orientation1 |
Jitter.LinearMath.JMatrix |
The orientation of the first shape. |
orientation2 |
Jitter.LinearMath.JMatrix |
The orientation of the second shape. |
position1 |
Jitter.LinearMath.JVector |
The position of the first shape. |
position2 |
Jitter.LinearMath.JVector |
The position of the second shape |
point |
Jitter.LinearMath.JVector |
The pointin world coordinates, where collision occur. |
normal |
Jitter.LinearMath.JVector |
The normal pointing from body2 to body1. |
penetration |
float |
Estimated penetration depth of the collision. |
리턴 |
bool |
|