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
| 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