Collision effect uses color.transparent instead of a custom transparent color.

main
fjc40 8 years ago
parent 536428ce16
commit 24b068f249

@ -402,7 +402,7 @@ public class RaceViewController extends Controller {
shockwave.setZ(boatModel.getPosition().getZ());
if(opacity <= 0) {
shockwave.getMesh().setMaterial(new PhongMaterial(new Color(1,0,0,0)));
shockwave.getMesh().setMaterial(new PhongMaterial(Color.TRANSPARENT));
boat.setHasCollided(false);
this.stop();
}

Loading…
Cancel
Save