| Urho3D
    | 
Contact info. More...
#include </home/runner/work/Dviglo/Dviglo/DvigloRepository/Source/Urho3D/Physics2D/PhysicsWorld2D.h>
| Public Member Functions | |
| ContactInfo () | |
| Construct. | |
| ContactInfo (b2Contact *contact) | |
| Construct. | |
| const PODVector< unsigned char > & | Serialize (VectorBuffer &buffer) const | 
| Write contact info to buffer. | |
| Public Attributes | |
| SharedPtr< RigidBody2D > | bodyA_ | 
| Rigid body A. | |
| SharedPtr< RigidBody2D > | bodyB_ | 
| Rigid body B. | |
| SharedPtr< Node > | nodeA_ | 
| Node A. | |
| SharedPtr< Node > | nodeB_ | 
| Node B. | |
| SharedPtr< CollisionShape2D > | shapeA_ | 
| Shape A. | |
| SharedPtr< CollisionShape2D > | shapeB_ | 
| Shape B. | |
| int | numPoints_ {} | 
| Number of contact points. | |
| Vector2 | worldNormal_ | 
| Contact normal in world space. | |
| Vector2 | worldPositions_ [b2_maxManifoldPoints] | 
| Contact positions in world space. | |
| float | separations_ [b2_maxManifoldPoints] {} | 
| Contact overlap values. | |
Contact info.
 1.8.17
 1.8.17