engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | Protected 成员函数 | 所有成员列表
FKShapeElem结构体 参考

Sphere shape used for collision 更多...

#include <ShapeElem.h>

+ 类 FKShapeElem 继承关系图:

Public 成员函数

ENGINE_API ECollisionEnabled::Type GetCollisionEnabled () const
 Get whether this shape should be considered for query or sim collision
 
ENGINE_API bool GetContributeToMass () const
 Get whether this shape contributes to the mass of the body
 
ENGINE_API const FName & GetName () const
 Get the user-defined name for this shape
 
ENGINE_API void SetContributeToMass (bool bInContributeToMass)
 Set whether this shape will contribute to the mass of the body
 
ENGINE_API void SetName (const FName &InName)
 Set the user-defined name for this shape
 

Public 属性

float RestOffset
 Offset used when generating contact points. 更多...
 

Protected 成员函数

void CloneElem (const FKShapeElem &Other)
 Helper function to safely clone instances of this shape element
 

详细描述

Sphere shape used for collision

类成员变量说明

◆ RestOffset

float FKShapeElem::RestOffset

Offset used when generating contact points.

This allows you to smooth out the Minkowski sum by radius R. Useful for making objects slide smoothly on top of irregularities


该结构体的文档由以下文件生成: