class

FSectorCollisionProxyBuilder

Module
Game
Header
#include "Streaming/SectorCollisionProxy.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
boolEnabledwp.CollisionProxy / wp.CollisionProxy.MaxTriangles / wp.CollisionProxy.MaxResident.
uint32_tTriangleBudget
uint32_tResidentBudget
boolBuildMerge + simplify under triangleBudget.
boolCollectFromSceneLive colliders under roots: static bodies only (a dynamic prop is gone with its sector either way), triggers excluded.
boolCollectFromFragmentsCooked fragments: primitive colliders only, since a mesh collider's geometry is runtime data the MDF never carries.
boolCollectFromFragmentTrees

Function details

Enabled

C++
static bool Enabled()

wp.CollisionProxy / wp.CollisionProxy.MaxTriangles / wp.CollisionProxy.MaxResident.

TriangleBudget

C++
static uint32_t TriangleBudget()

ResidentBudget

C++
static uint32_t ResidentBudget()

Build

C++
static bool Build(const std::vector<FSectorCollisionSource>& sources, uint32_t triangleBudget, FSectorCollisionProxyData& out, uint32_t* outSourceTriangles = nullptr)

Merge + simplify under triangleBudget. When the simplifier cannot get there, every source collapses to its world AABB, and if even that is over, the whole sector becomes one box — a long shot must hit SOMETHING where the ground was.

CollectFromScene

C++
static bool CollectFromScene(Scene& scene, const std::vector<EntityID>& roots, std::vector<FSectorCollisionSource>& out)

Live colliders under roots: static bodies only (a dynamic prop is gone with its sector either way), triggers excluded.

CollectFromFragments

C++
static bool CollectFromFragments(const std::vector<std::string>& fragmentMdf, std::vector<FSectorCollisionSource>& out)

Cooked fragments: primitive colliders only, since a mesh collider's geometry is runtime data the MDF never carries.

CollectFromFragmentTrees

C++
static bool CollectFromFragmentTrees(const std::vector<const MDF::MdfNode*>& trees, std::vector<FSectorCollisionSource>& out)
Generated from Streaming/SectorCollisionProxy.h via game.json · Nov 5, 2026Version 1.0.0