载入中...
搜索中...
未找到
eve::physics::softbody::ISoftBodyCollisionWorld类 参考abstract
Narrow borrowed collision service consumed by the soft-body core. 更多...
#include <SoftBodyCollision.h>
Public 成员函数 | |
| virtual | ~ISoftBodyCollisionWorld ()=default |
| Releases ISoftBodyCollisionWorld resources. | |
| virtual bool | softBodyCollisionAvailable () const noexcept=0 |
| Whether the provider can currently answer contacts. | |
| virtual SoftBodyContactState | probeSoftBodyParticle (float x, float y, float z, float radius, SoftBodyContact &contact) const =0 |
| Probe the deepest non-sensor contact for a spherical particle. | |
| virtual void | applySoftBodyImpulse (int bodyId, float x, float y, float z)=0 |
| Apply a world-space impulse to a previously reported dynamic body id. | |
详细描述
Narrow borrowed collision service consumed by the soft-body core.
Implementations own all referenced rigid bodies. The solver retains only this interface pointer; callers must clear it before provider destruction.
在文件 SoftBodyCollision.h 第 23 行定义.
构造及析构函数说明
◆ ~ISoftBodyCollisionWorld()
|
virtualdefault |
Releases ISoftBodyCollisionWorld resources.
成员函数说明
◆ applySoftBodyImpulse()
|
pure virtual |
Apply a world-space impulse to a previously reported dynamic body id.
◆ probeSoftBodyParticle()
|
pure virtual |
Probe the deepest non-sensor contact for a spherical particle.
◆ softBodyCollisionAvailable()
|
pure virtualnoexcept |
Whether the provider can currently answer contacts.
该类的文档由以下文件生成:
- src/modules/physics/softbody/SoftBodyCollision.h