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