diff --git a/scenario/src/plugins/Physics/Physics.cc b/scenario/src/plugins/Physics/Physics.cc index 95bd1eb36..16f0c726a 100644 --- a/scenario/src/plugins/Physics/Physics.cc +++ b/scenario/src/plugins/Physics/Physics.cc @@ -2247,7 +2247,7 @@ void PhysicsPrivate::UpdatePhysics(EntityComponentManager &_ecm, math::AxisAlignedBox bbox = math::eigen3::convert(bbModel->GetAxisAlignedBoundingBox()); auto state = _bbox->SetData(bbox, this->axisAlignedBoxEql) ? - ComponentState::OneTimeChange : + ComponentState::PeriodicChange : ComponentState::NoChange; _ecm.SetChanged(_entity, components::AxisAlignedBox::typeId, state); @@ -3204,7 +3204,7 @@ void PhysicsPrivate::UpdateCollisions(EntityComponentManager &_ecm) // Clear the last contact data auto state = _contacts->SetData(contactsComp, this->contactsEql) ? - ComponentState::OneTimeChange : + ComponentState::PeriodicChange : ComponentState::NoChange; _ecm.SetChanged( _collEntity1, components::ContactSensorData::typeId, state); @@ -3290,7 +3290,7 @@ void PhysicsPrivate::UpdateCollisions(EntityComponentManager &_ecm) auto state = _contacts->SetData(contactsComp, this->contactsEql) ? - ComponentState::OneTimeChange : + ComponentState::PeriodicChange : ComponentState::NoChange; _ecm.SetChanged( _collEntity1, components::ContactSensorData::typeId, state);