Calling SetOneWayInteraction on a BodyInstance has no effect within the physics engine.

The state of the flag is passed in to Chaos but nothing actually uses the value once it is there.

It is expected that "If set to true, this body will treat bodies that do not have the flag set as having infinite mass".

Preferably would want it to work as it is a quick way of getting an body to not affect other bodies during a collision. Otherwise the interface should be removed completely to avoid confusion.

UDN case

Steps to Reproduce

Requires 2 physics bodies of equal mass, set this flag on one of them say body A, then one would expect that body A would have no effect on body B during a collision, body B would push body A around as though it had no mass.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-169882 in the post.

Login to Vote

ComponentUE - Simulation - Physics
Affects Versions5.1
Target Fix5.5
CreatedNov 11, 2022
UpdatedFeb 27, 2024