Quantum 3
3.0.11
A helper for safety interaction through the contact point buffer. More...
Public Member Functions | |
| bool | Next (out FPVector2 contactPoint) |
| Iterates through the contact points of a collision. More... | |
| bool | Next (out FPVector2 contactPoint, out FPVector2 contactNormal) |
| Iterates through the contact points of a collision, also accessing the contact normal. More... | |
| bool | NextUnsafe (out FPVector2 *contactPoint, out FPVector2 *contactNormal, out bool invertedNormal) |
| Iterates through the contact points of a collision, also accessing the contact normal. The pointers access the fields directly in the collision manifold structure and modifications done to it will affect the collision resolution. More... | |
| void | ResetIterator () |
| Resets the iterator. More... | |
Properties | |
| readonly FPVector2 | Average [get] |
| The average contact point on this collision. More... | |
| FPVector2 | ContactNormal [get, set] |
| The collision normal of the manifold. More... | |
| readonly int | Count [get] |
| The number of contact points on this collision. More... | |
| FPVector2 | Current [get, set] |
| The current contact point iterated. Next(out Photon.Deterministic.FPVector2) must have been called at least once and must have returned true in the latest call. More... | |
| FPVector2 | First [get, set] |
| The first contact point computed on this collision. More... | |
A helper for safety interaction through the contact point buffer.
|
inline |
Iterates through the contact points of a collision.
| contactPoint | The current contact point. Default if the iteration is over. |
true if there is still a contactPoint .
|
inline |
Iterates through the contact points of a collision, also accessing the contact normal.
| contactPoint | The current contact point. Default if the iteration is over. |
| contactNormal | The contact normal. Default if the iteration is over. |
true if there is still a contactPoint and contactNormal .
|
inline |
Iterates through the contact points of a collision, also accessing the contact normal. The pointers access the fields directly in the collision manifold structure and modifications done to it will affect the collision resolution.
| contactPoint | The current contact point. Default if the iteration is over. |
| contactNormal | The contact normal. Default if the iteration is over. |
| invertedNormal | If the contact normal is inverted from the perspective of the main entity in the callback. |
true if there is still a contactPoint and contactNormal .
|
inline |
Resets the iterator.
|
get |
The number of contact points on this collision.
|
get |
The average contact point on this collision.
|
getset |
The first contact point computed on this collision.
Contact points are computed in NO particular order.
|
getset |
The current contact point iterated. Next(out Photon.Deterministic.FPVector2) must have been called at least once and must have returned true in the latest call.
Contact points are computed in NO particular order.
|
getset |
The collision normal of the manifold.