Ejemplo n.º 1
0
 public MyCharacterPhysicsStateGroup(MyEntity entity, IMyReplicable ownerReplicable)
     : base(entity, ownerReplicable)
 {
     // This is 9 bits per component which is more than enough (512 discrete values per-axis)
     m_lowPrecisionOrientation = true;
     FindSupportDelegate       = () => MySupportHelper.FindSupportForCharacter(Entity);
 }
 MyEntityPhysicsStateGroup FindSupport()
 {
     return(MySupportHelper.FindSupportForCharacter(Instance));
 }
 public MySmallObjectPhysicsStateGroup(MyEntity entity, IMyReplicable owner)
     : base(entity, owner)
 {
     m_positionValidation = ValidatePosition;
     FindSupportDelegate  = () => MySupportHelper.FindSupportForCharacter(Entity);
 }