Fix typo in internal variable name.
This commit is contained in:
@@ -343,7 +343,7 @@ impl NarrowPhase {
|
||||
islands.wake_up(bodies, parent.handle, true)
|
||||
}
|
||||
|
||||
if pair.start_event_emited {
|
||||
if pair.start_event_emitted {
|
||||
events.handle_collision_event(
|
||||
bodies,
|
||||
colliders,
|
||||
@@ -355,7 +355,7 @@ impl NarrowPhase {
|
||||
} else {
|
||||
// If there is no island, don’t wake-up bodies, but do send the Stopped collision event.
|
||||
for (a, b, pair) in self.contact_graph.interactions_with(contact_graph_id) {
|
||||
if pair.start_event_emited {
|
||||
if pair.start_event_emitted {
|
||||
events.handle_collision_event(
|
||||
bodies,
|
||||
colliders,
|
||||
@@ -371,7 +371,7 @@ impl NarrowPhase {
|
||||
.intersection_graph
|
||||
.interactions_with(intersection_graph_id)
|
||||
{
|
||||
if pair.start_event_emited {
|
||||
if pair.start_event_emitted {
|
||||
events.handle_collision_event(
|
||||
bodies,
|
||||
colliders,
|
||||
|
||||
Reference in New Issue
Block a user