# Physics constraints won't work correctly if out of field of view?

**URL:** <https://forums.unrealengine.com/t/physics-constraints-wont-work-correctly-if-out-of-field-of-view/1722757>\
**Category:** World Creation\
**Tags:** physics-constraint, physics-constraints, wheeled-vehicle, unreal-engine, UE5, Physics, question\
**Created:** [March 1, 2024, 4:49pm UTC](https://forums.unrealengine.com/t/physics-constraints-wont-work-correctly-if-out-of-field-of-view/1722757 "2024-03-01T16:49:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mmx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mmx](https://forums.unrealengine.com/u/mmx)\
**Post date:** [March 1, 2024, 4:49pm UTC](https://forums.unrealengine.com/t/physics-constraints-wont-work-correctly-if-out-of-field-of-view/1722757/1 "2024-03-01T16:49:49Z")

</div>

Hello everybody,

I’m trying to implement a train system using Chaos Vehicle. The results so far look very promising but I ran into an issue using physics constraints to connect wagons. While chains of physics constraints are often described as unstable I had no mayor issues so far and were able to connect several chaos vehicles to each other. However there is one major problem as soon as the physics constraints are out of the field of view they seem to stop working correctly.

  
Also I’m pretty sure it is due to the physics constraints since if I remove them and push the wagons via collision there are no issues at all. Does somebody have an idea why that happans or even how to resolve this?

---

<div class="post-metadata">

**Author:** ![mmx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mmx](https://forums.unrealengine.com/u/mmx)\
**Post date:** [March 5, 2024, 5:40pm UTC](https://forums.unrealengine.com/t/physics-constraints-wont-work-correctly-if-out-of-field-of-view/1722757/2 "2024-03-05T17:40:41Z")

</div>

The only way to fix this so far has been to increase the bounds of the wagons so that they are always rendered. Interestingly, the physics constraints wont make a mess then. Not the best solution I admit.

---

<div class="post-metadata">

**Author:** ![mmx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mmx](https://forums.unrealengine.com/u/mmx)\
**Post date:** [March 11, 2024, 10:27am UTC](https://forums.unrealengine.com/t/physics-constraints-wont-work-correctly-if-out-of-field-of-view/1722757/3 "2024-03-11T10:27:54Z")

</div>

I made a new implementation for the coupling. Now everything works fine. I was not able to identify what caused the problem but I assume the collision boxes which trigger the connection via physics constraints were triggering even though the connection was already established. This lead to the components of the constraint being set multiple times. Strangely, this occured mostly when the collision boxes were out of the field of view. Disabling the collision boxes after coupling did the trick.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [April 10, 2024, 10:28am UTC](https://forums.unrealengine.com/t/physics-constraints-wont-work-correctly-if-out-of-field-of-view/1722757/4 "2024-04-10T10:28:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
