|
|
@@ -49,7 +49,7 @@ EVENT(E_PHYSICSCOLLISIONSTART, PhysicsCollisionStart)
|
|
|
PARAM(P_NODEB, NodeB); // Node pointer
|
|
|
PARAM(P_BODYA, BodyA); // RigidBody pointer
|
|
|
PARAM(P_BODYB, BodyB); // RigidBody pointer
|
|
|
- PARAM(P_PHANTOM, Phantom); // bool
|
|
|
+ PARAM(P_TRIGGER, Trigger); // bool
|
|
|
PARAM(P_CONTACTS, Contacts); // Buffer containing position (Vector3), normal (Vector3), distance (float), impulse (float) for each contact
|
|
|
}
|
|
|
|
|
|
@@ -61,7 +61,7 @@ EVENT(E_PHYSICSCOLLISION, PhysicsCollision)
|
|
|
PARAM(P_NODEB, NodeB); // Node pointer
|
|
|
PARAM(P_BODYA, BodyA); // RigidBody pointer
|
|
|
PARAM(P_BODYB, BodyB); // RigidBody pointer
|
|
|
- PARAM(P_PHANTOM, Phantom); // bool
|
|
|
+ PARAM(P_TRIGGER, Trigger); // bool
|
|
|
PARAM(P_CONTACTS, Contacts); // Buffer containing position (Vector3), normal (Vector3), distance (float), impulse (float) for each contact
|
|
|
}
|
|
|
|
|
|
@@ -73,7 +73,7 @@ EVENT(E_PHYSICSCOLLISIONEND, PhysicsCollisionEnd)
|
|
|
PARAM(P_NODEB, NodeB); // Node pointer
|
|
|
PARAM(P_BODYA, BodyA); // RigidBody pointer
|
|
|
PARAM(P_BODYB, BodyB); // RigidBody pointer
|
|
|
- PARAM(P_PHANTOM, Phantom); // bool
|
|
|
+ PARAM(P_TRIGGER, Trigger); // bool
|
|
|
}
|
|
|
|
|
|
/// Physics collision started (sent to the participating scene nodes.)
|
|
|
@@ -82,7 +82,7 @@ EVENT(E_NODECOLLISIONSTART, NodeCollisionStart)
|
|
|
PARAM(P_BODY, Body); // RigidBody pointer
|
|
|
PARAM(P_OTHERNODE, OtherNode); // Node pointer
|
|
|
PARAM(P_OTHERBODY, OtherBody); // RigidBody pointer
|
|
|
- PARAM(P_PHANTOM, Phantom); // bool
|
|
|
+ PARAM(P_TRIGGER, Trigger); // bool
|
|
|
PARAM(P_CONTACTS, Contacts); // Buffer containing position (Vector3), normal (Vector3), distance (float), impulse (float) for each contact
|
|
|
}
|
|
|
|
|
|
@@ -92,7 +92,7 @@ EVENT(E_NODECOLLISION, NodeCollision)
|
|
|
PARAM(P_BODY, Body); // RigidBody pointer
|
|
|
PARAM(P_OTHERNODE, OtherNode); // Node pointer
|
|
|
PARAM(P_OTHERBODY, OtherBody); // RigidBody pointer
|
|
|
- PARAM(P_PHANTOM, Phantom); // bool
|
|
|
+ PARAM(P_TRIGGER, Trigger); // bool
|
|
|
PARAM(P_CONTACTS, Contacts); // Buffer containing position (Vector3), normal (Vector3), distance (float), impulse (float) for each contact
|
|
|
}
|
|
|
|
|
|
@@ -102,7 +102,7 @@ EVENT(E_NODECOLLISIONEND, NodeCollisionEnd)
|
|
|
PARAM(P_BODY, Body); // RigidBody pointer
|
|
|
PARAM(P_OTHERNODE, OtherNode); // Node pointer
|
|
|
PARAM(P_OTHERBODY, OtherBody); // RigidBody pointer
|
|
|
- PARAM(P_PHANTOM, Phantom); // bool
|
|
|
+ PARAM(P_TRIGGER, Trigger); // bool
|
|
|
}
|
|
|
|
|
|
}
|