class

FGaussianSplatCollisionSystem

Gives a Gaussian splat instance a static collider built from its splats, so a captured room can be walked in rather than only looked at. Runs before the physics step and only when the settings or the asset changed.

Module
Game
Header
#include "Renderer/GaussianSplatCollisionSystem.h"
Namespace
Mowo

Hull: one convex hull around every splat at least half opaque — cheap, for props. Voxels: the cells of a grid the opaque splats occupy, merged into boxes along X, as one static compound — follows floors and walls.

Public functions

ReturnsNameDescription
boolDeclaresComponentAccess
ComponentMaskGetReadMask
ComponentMaskGetWriteMask
voidUpdate
voidBuildVoxelBoxesBoxes (centre, half extents, interleaved) covering the occupied cells of cell-sized voxels, runs along X merged.
boolBuildColliderFills collider for mode (1 hull, 2 voxels); false when the cloud has nothing opaque enough to stand on.

Function details

DeclaresComponentAccess

C++
bool DeclaresComponentAccess() const override

GetReadMask

C++
ComponentMask GetReadMask() const override

GetWriteMask

C++
ComponentMask GetWriteMask() const override

Update

C++
void Update(float deltaTime) override

BuildVoxelBoxes

C++
static void BuildVoxelBoxes(const FGaussianSplatCloud& cloud, float cell, std::vector<float>& outCentreHalf)

Boxes (centre, half extents, interleaved) covering the occupied cells of cell-sized voxels, runs along X merged. Exposed for tests.

BuildCollider

C++
static bool BuildCollider(const FGaussianSplatCloud& cloud, uint32_t mode, float cell, ColliderComponent& collider)

Fills collider for mode (1 hull, 2 voxels); false when the cloud has nothing opaque enough to stand on.

Generated from Renderer/GaussianSplatCollisionSystem.h via game.json · Nov 5, 2026Version 1.0.0