|
|
@@ -39,8 +39,7 @@ URHO3D_EVENT(E_PHYSICSUPDATECONTACT2D, PhysicsUpdateContact2D)
|
|
|
URHO3D_PARAM(P_BODYB, BodyB); // RigidBody2D pointer
|
|
|
URHO3D_PARAM(P_NODEA, NodeA); // Node pointer
|
|
|
URHO3D_PARAM(P_NODEB, NodeB); // Node pointer
|
|
|
- URHO3D_PARAM(P_CONTACT, Contact); // b2Contact pointer
|
|
|
- URHO3D_PARAM(P_CONTACTPOINTS, ContactPoints); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
+ URHO3D_PARAM(P_CONTACTS, Contacts); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
URHO3D_PARAM(P_SHAPEA, ShapeA); // CollisionShape2D pointer
|
|
|
URHO3D_PARAM(P_SHAPEB, ShapeB); // CollisionShape2D pointer
|
|
|
URHO3D_PARAM(P_ENABLED, Enabled); // bool [in/out]
|
|
|
@@ -54,8 +53,7 @@ URHO3D_EVENT(E_PHYSICSBEGINCONTACT2D, PhysicsBeginContact2D)
|
|
|
URHO3D_PARAM(P_BODYB, BodyB); // RigidBody2D pointer
|
|
|
URHO3D_PARAM(P_NODEA, NodeA); // Node pointer
|
|
|
URHO3D_PARAM(P_NODEB, NodeB); // Node pointer
|
|
|
- URHO3D_PARAM(P_CONTACT, Contact); // b2Contact pointer
|
|
|
- URHO3D_PARAM(P_CONTACTPOINTS, ContactPoints); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
+ URHO3D_PARAM(P_CONTACTS, Contacts); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
URHO3D_PARAM(P_SHAPEA, ShapeA); // CollisionShape2D pointer
|
|
|
URHO3D_PARAM(P_SHAPEB, ShapeB); // CollisionShape2D pointer
|
|
|
}
|
|
|
@@ -68,8 +66,7 @@ URHO3D_EVENT(E_PHYSICSENDCONTACT2D, PhysicsEndContact2D)
|
|
|
URHO3D_PARAM(P_BODYB, BodyB); // RigidBody2D pointer
|
|
|
URHO3D_PARAM(P_NODEA, NodeA); // Node pointer
|
|
|
URHO3D_PARAM(P_NODEB, NodeB); // Node pointer
|
|
|
- URHO3D_PARAM(P_CONTACT, Contact); // b2Contact pointer
|
|
|
- URHO3D_PARAM(P_CONTACTPOINTS, ContactPoints); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
+ URHO3D_PARAM(P_CONTACTS, Contacts); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
URHO3D_PARAM(P_SHAPEA, ShapeA); // CollisionShape2D pointer
|
|
|
URHO3D_PARAM(P_SHAPEB, ShapeB); // CollisionShape2D pointer
|
|
|
}
|
|
|
@@ -80,8 +77,7 @@ URHO3D_EVENT(E_NODEUPDATECONTACT2D, NodeUpdateContact2D)
|
|
|
URHO3D_PARAM(P_BODY, Body); // RigidBody2D pointer
|
|
|
URHO3D_PARAM(P_OTHERNODE, OtherNode); // Node pointer
|
|
|
URHO3D_PARAM(P_OTHERBODY, OtherBody); // RigidBody2D pointer
|
|
|
- URHO3D_PARAM(P_CONTACT, Contact); // b2Contact pointer
|
|
|
- URHO3D_PARAM(P_CONTACTPOINTS, ContactPoints); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
+ URHO3D_PARAM(P_CONTACTS, Contacts); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
URHO3D_PARAM(P_SHAPE, Shape); // CollisionShape2D pointer
|
|
|
URHO3D_PARAM(P_OTHERSHAPE, OtherShape); // CollisionShape2D pointer
|
|
|
URHO3D_PARAM(P_ENABLED, Enabled); // bool [in/out]
|
|
|
@@ -93,8 +89,7 @@ URHO3D_EVENT(E_NODEBEGINCONTACT2D, NodeBeginContact2D)
|
|
|
URHO3D_PARAM(P_BODY, Body); // RigidBody2D pointer
|
|
|
URHO3D_PARAM(P_OTHERNODE, OtherNode); // Node pointer
|
|
|
URHO3D_PARAM(P_OTHERBODY, OtherBody); // RigidBody2D pointer
|
|
|
- URHO3D_PARAM(P_CONTACT, Contact); // b2Contact pointer
|
|
|
- URHO3D_PARAM(P_CONTACTPOINTS, ContactPoints); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
+ URHO3D_PARAM(P_CONTACTS, Contacts); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
URHO3D_PARAM(P_SHAPE, Shape); // CollisionShape2D pointer
|
|
|
URHO3D_PARAM(P_OTHERSHAPE, OtherShape); // CollisionShape2D pointer
|
|
|
}
|
|
|
@@ -105,8 +100,7 @@ URHO3D_EVENT(E_NODEENDCONTACT2D, NodeEndContact2D)
|
|
|
URHO3D_PARAM(P_BODY, Body); // RigidBody2D pointer
|
|
|
URHO3D_PARAM(P_OTHERNODE, OtherNode); // Node pointer
|
|
|
URHO3D_PARAM(P_OTHERBODY, OtherBody); // RigidBody2D pointer
|
|
|
- URHO3D_PARAM(P_CONTACT, Contact); // b2Contact pointer
|
|
|
- URHO3D_PARAM(P_CONTACTPOINTS, ContactPoints); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
+ URHO3D_PARAM(P_CONTACTS, Contacts); // Buffer containing position (Vector2), normal (Vector2), negative overlap distance (float). Normal is the same for all points.
|
|
|
URHO3D_PARAM(P_SHAPE, Shape); // CollisionShape2D pointer
|
|
|
URHO3D_PARAM(P_OTHERSHAPE, OtherShape); // CollisionShape2D pointer
|
|
|
}
|