跳转到内容

UBot Physics Scene Stats

C++
FUBotPhysicsSceneStats
模块
UBotPhysics · UBotPhysics 0.1.0
节点
Break · Make
头文件
Source/UBotPhysics/Public/UBotPhysicsTypes.h

一个后端当前看到的 UE 场景。

字段类型蓝图说明
Static BodiesStaticBodiesInteger只读交给后端的静态碰撞体数量。
Kinematic BodiesKinematicBodiesInteger只读交给后端的运动学(会动的)碰撞体数量。
ShapesShapesInteger只读这些静态和运动学碰撞体的形状总数。
Skipped ComponentsSkippedComponentsInteger只读世界里有物理碰撞、但没能导出的组件数(组件类型或形状不支持,或没有 Body Setup),取自最近一次扫描。带 UBotPhysics.NoScene 标签的组件不计入。

拆分结构体 · Break:FUBotPhysicsSceneStats

把 UBot Physics Scene Stats 拆成静态物体数、运动学物体数、形状数和跳过的组件数。

引脚方向类型说明
UBot Physics Scene Stats输入UBot Physics Scene Stats结构体
Static Bodies输出IntegerStatic colliders handed to the backend.
Kinematic Bodies输出IntegerKinematic (moving) colliders handed to the backend.
Shapes输出IntegerShapes of those bodies.
Skipped Components输出IntegerComponents of the world with physics collision that could not be exported (unsupported type or shapes, no body setup).

构造结构体 · Make:FUBotPhysicsSceneStats

用各字段构造一个 UBot Physics Scene Stats。

引脚方向类型
UBot Physics Scene Stats输出UBot Physics Scene Stats结构体