クロスシミュレーション用コリジョンクラス : カプセル 3 形状クラス More...
#include <GxUnitSoftbodyCollision.h>
Public Member Functions | |
定義 | |
基本動作 | |
b32 | setup (GxUnitModelBase *pParentModel, GxResSoftbodyCollision::GxSoftbodyCollisionData *pObject) override |
初期化 | |
![]() | |
void | update (GxUnitModelBase *pParentModel) override |
更新 | |
b32 | check (s32 jointIndex, const GxVector3 &position, f32 updateRatio, f32 updateRatioOld, GxVector3 &direct, GxVector3 &normal, f32 radius) override |
チェック | |
![]() | |
b32 | startAnalyse (s32 targetJointIndex) |
質点についているジョイントから自身と当たれるかどうか解析 | |
b32 | executeAnalyse (GxUnitModelBase::GxJoint *pNow, s32 targetJointIndex) |
質点についているジョイントから自身と当たれるかどうか解析開始 | |
Additional Inherited Members | |
![]() | |
f32 | _radius |
カプセル半径 | |
u32 | _jointIndex [2] |
両端点が参照するボーン番号 | |
GxVector3 | _offset [2] |
端ボーンからのオフセット | |
GxVector3 | _position [2] |
両端点 | |
GxVector3 | _positionOld [2] |
旧両端点 | |
GxVector3 | _vector |
芯 | |
GxVector3 | _vectorOld |
旧芯、旧芯 | |
f32 | _radiusOld |
旧外接球半径 | |
![]() | |
GxUnitModelBase * | _pParentModel |
親モデル | |
GxResSoftbodyCollision::OBJECT_TYPE | _objectType |
オブジェクトタイプ | |
b32 | _enable |
有効/無効 | |
f32 | _sphereRadius |
外接球半径 / 球ではそのまま使う | |
GxVector3 | _spherePosition |
外接球中心 / 球ではそのまま使う | |
GxVector3 | _spherePositionOld |
外接球中心 / 球ではそのまま使う | |
GxResSoftbodyCollision::GxSoftbodyCollisionData::OPERATION_TYPE | _hitOperationType |
衝突時の振る舞い | |
s32 | _hitJointIndex [GxResSoftbodyCollision::GxSoftbodyCollisionData::HIT_JOINT_MAX] |
ヒット判定をするジョイント(↑がtrueの場合のみ有効で-1は無効値) | |
u32 | _id |
任意ID | |
クロスシミュレーション用コリジョンクラス : カプセル 3 形状クラス
|
overridevirtual |
初期化
pParentModel | [in] 親モデル |
pObject | [in] オブジェクト |
Reimplemented from GxUnitSoftbodyCollision::GxHitCapsule.