# Why is 'contacts.ignore' not take effect?

**URL:** <https://forums.unrealengine.com/t/why-is-contacts-ignore-not-take-effect/253290>\
**Category:** C++\
**Tags:** unreal-engine, UE4-27\
**Created:** [September 29, 2021, 2:16pm UTC](https://forums.unrealengine.com/t/why-is-contacts-ignore-not-take-effect/253290 "2021-09-29T14:16:19Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![HappyHappyPlay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@HappyHappyPlay](https://forums.unrealengine.com/u/HappyHappyPlay)\
**Post date:** [April 5, 2022, 12:47pm UTC](https://forums.unrealengine.com/t/why-is-contacts-ignore-not-take-effect/253290/6 "2022-04-05T12:47:06Z")

</div>

For anyone running into this in the future, here is a link to @tancen 's own great answer! 🙂

> [@How do I get my ContactModifyCallback to work?](https://forums.unrealengine.com/t/how-do-i-get-my-contactmodifycallback-to-work/250909/5):
>
> Finally, I find a way to make it worked. // Fill out your copyright notice in the Description page of Project Settings. #pragma optimize("", off) #include "MyWorldSettings.h" #include \<PhysXPublicCore.h\> #include "Physics/PhysicsFiltering.h" PxFilterFlags PxSimulationFilterShaderProc(PxFilterObjectAttributes attributes0, PxFilterData filterData0, PxFilterObjectAttributes attributes1, PxFilterData filterData1, PxPairFlags& pairFlags, const void\* constantBlock, PxU32 constantBlockSize) { pa…

---

_[View the full topic](https://forums.unrealengine.com/t/why-is-contacts-ignore-not-take-effect/253290)._
