|
|
@ -56,17 +56,20 @@ public class GetHeightCmd extends AbstractDevCmd { |
|
|
|
this.throwbackInfo(playerCharacter, "Height returned : " + parentHeight); |
|
|
|
this.throwbackInfo(playerCharacter, "Height returned : " + parentHeight); |
|
|
|
this.throwbackInfo(playerCharacter, "------------"); |
|
|
|
this.throwbackInfo(playerCharacter, "------------"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.throwbackInfo(playerCharacter, "Min: " + heightmapZone.getHeightMap().zone_maxBlend + " Max: " + heightmapZone.getHeightMap().zone_maxBlend); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (Bounds.collide(playerCharacter.getLoc(), heightmapZone.maxBlend)) { |
|
|
|
if (Bounds.collide(playerCharacter.getLoc(), heightmapZone.maxBlend)) { |
|
|
|
this.throwbackInfo(playerCharacter, "Blend: Max / Child"); |
|
|
|
this.throwbackInfo(playerCharacter, "Blend: Max (Child)"); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (Bounds.collide(playerCharacter.getLoc(), heightmapZone.minBlend)) { |
|
|
|
if (Bounds.collide(playerCharacter.getLoc(), heightmapZone.minBlend)) { |
|
|
|
this.throwbackInfo(playerCharacter, "Blend: Min / LERP"); |
|
|
|
this.throwbackInfo(playerCharacter, "Blend: Min (LERP)"); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.throwbackInfo(playerCharacter, "Blend: None / Parent"); |
|
|
|
this.throwbackInfo(playerCharacter, "Blend: None (Parent)"); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|