Logo
静的公開メンバ関数 | 全メンバ一覧
Yukar.Engine.MapCharacterCollisionBuilder クラス

MapCharacterのコリジョンを生成するためのクラス [詳解]

静的公開メンバ関数

static void buildPhysicsExceptControl (MapCharacter self, PhysicsBase phys, PhysicsObject po, Vector3 scl, Common.Resource.PhysicsSetup setup, ushort colType, ushort colMask)
 ユレモノのコライダを作る [詳解]
 
static void buildPhysicsControl (int startIndex, MapCharacter self, PhysicsObject po, Vector3 scl, Common.Resource.PhysicsSetup setup, ushort colType, ushort colMask)
 mainColliderはひとつしか持てないので、2個目以降のControlタイプのコライダをくっつける処理 [詳解]
 

詳解

MapCharacterのコリジョンを生成するためのクラス

メソッド詳解

◆ buildPhysicsControl()

static void Yukar.Engine.MapCharacterCollisionBuilder.buildPhysicsControl ( int  startIndex,
MapCharacter  self,
PhysicsObject  po,
Vector3  scl,
Common.Resource.PhysicsSetup  setup,
ushort  colType,
ushort  colMask 
)
static

mainColliderはひとつしか持てないので、2個目以降のControlタイプのコライダをくっつける処理

引数
startIndex開始インデックス
self
po
scl
setup
colType
colMask

◆ buildPhysicsExceptControl()

static void Yukar.Engine.MapCharacterCollisionBuilder.buildPhysicsExceptControl ( MapCharacter  self,
PhysicsBase  phys,
PhysicsObject  po,
Vector3  scl,
Common.Resource.PhysicsSetup  setup,
ushort  colType,
ushort  colMask 
)
static

ユレモノのコライダを作る

引数
self
po
scl
setup