![]() |
Lumino
|
カプセル型の衝突判定形状です。 More...
#include <CollisionShape.hpp>
Static Public Member Functions | |
static Ref< CapsuleCollisionShape > | create (float radius, float height) |
CapsuleCollisionShape オブジェクトを作成します。 More... | |
Additional Inherited Members | |
![]() | |
void | setTrigger (bool enabled) |
この CollisionShape が衝突判定のためのトリガーであるかを設定します。初期値は false です。 | |
bool | isTrigger () const |
この CollisionShape が衝突判定のためのトリガーであるかを取得します。 | |
void | setPosition (const Vector3 &value) |
この形状のローカルオフセットを設定します。 | |
const Vector3 & | position () const |
この形状のローカルオフセットを取得します。 | |
カプセル型の衝突判定形状です。
|
static |
CapsuleCollisionShape オブジェクトを作成します。
[in] | radius | : 半径 |
[in] | height | : 高さ |