基準鎖型セルクラス More...
#include <GxUnitChainBase.h>
Public Member Functions | |
定義 | |
GX_RTTI_STRUCT (GxUnitChainBase::GxCell) | |
初期化 | |
GxCell (void) | |
デフォルトコンストラクタ | |
![]() | |
GX_RTTI_STRUCT (GxUnitSoftbodyBase::GxCell) | |
GxCell (void) | |
デフォルトコンストラクタ | |
Public Attributes | |
メンバ変数 | |
f32 | _def |
下のセルとの基準距離 | |
![]() | |
GxVector3 | _position |
位置 | |
GxVector3 | _positionCurrent |
現在の位置 | |
GxVector3 | _positionOld |
前の位置 | |
GxVector3 | _velocity |
速度 | |
GxVector3 | _force |
力 | |
GxVector3 | _normal |
法線 | |
GxVector3 | _gravity |
重力 | |
f32 | _mass |
質量 | |
f32 | _radius |
質点半径 - Radius | |
GxVector3 | _windRatio |
風を受ける割合 | |
b32 | _isFixed |
固定点かどうか | |
基準鎖型セルクラス
鎖の質点における、共通、最低限必要な情報
追加でデータが必要な場合、派生クラスで追加情報を定義
( GxCell を派生させてしまうと、配列確保しているため正常に動作しない )