UEConsole Commands
VariableConsole VariablePhysics

p.Chaos.OneSidedHeightfieldAlwaysSweep

p.Chaos.OneSidedHeightfieldAlwaysSweep is a console variable in Unreal Engine 5 (UE5). See what p.Chaos.OneSidedHeightfieldAlwaysSweep does, its values, and how to use this cvar in the Unreal console below.

Category: Physics · Namespace: p

Help

When enabled, always use a sweep to ensure FHeightField::GJKContactPointImp never results in internal-facing contact data. Else, we only sweep if we detect an inward facing normal. Note that the sweep results can be inaccurate in some cases.

Usage

Unreal console (open with ~)
> p.Chaos.OneSidedHeightfieldAlwaysSweep 1

Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.

Related in p