Exemple #1
0
 /// <summary>
 /// 和非Character Controller碰撞
 /// </summary>
 public virtual bool OnFilterWorld(PxCollider collider)
 {
     return(true);
 }
 /// <summary>
 /// This is called when the CCT moves and hits a shape. This will not be called when a moving shape hits a non-moving CCT.
 /// </summary>
 /// <param name="collider">非Controller</param>
 public abstract void OnHitShape(PxCollider collider);