Exemplo n.º 1
0
 public void PinTo(Entity toEntity, Vec3f pinOffset)
 {
     pinned                 = true;
     pinnedTo               = toEntity;
     pinnedToEntityId       = toEntity.EntityId;
     pinnedToOffset         = pinOffset;
     pinnedToOffsetStartYaw = toEntity.SidedPos.Yaw;
     pinOffsetTransform     = Matrixf.Create();
     pinnedToBlockPos       = null;
     MarkDirty();
 }