コード例 #1
0
ファイル: Transition.cs プロジェクト: OptimShi/ACViewer
        public bool CheckCollisions(PhysicsObj obj)
        {
            SpherePath.InsertType = InsertType.Placement;
            SpherePath.SetCheckPos(SpherePath.CurPos, SpherePath.CurCell);

            return(obj.FindObjCollisions(this) != TransitionState.OK);
        }
コード例 #2
0
ファイル: Transition.cs プロジェクト: zarlant/ACE
        public bool CheckCollisions(PhysicsObj obj)
        {
            SpherePath.InsertType     = InsertType.Placement;
            SpherePath.CheckPos       = SpherePath.CurPos;
            SpherePath.CheckCell      = SpherePath.CurCell;
            SpherePath.CellArrayValid = false;
            SpherePath.CacheGlobalSphere(Vector3.Zero);

            return(obj.FindObjCollisions(this) != TransitionState.OK);
        }