Changed: Dolphin sample FOV is now 75.F, zoomed in the camera, increased the distance for collectibles pickup.

This commit is contained in:
Foxar
2020-12-07 14:28:56 +01:00
parent ed6c20e5df
commit 0423e484a5
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ void Dolphin::onUpdate()
{
Vector3 vecDist = oysters[i].mesh.position - player.mesh.position;
float dist = Math::sqrt(vecDist.x + vecDist.y + vecDist.z);
if (dist < 2 && player.getIsJumping() && oysters[i].isActive())
if (dist < 2.5F && player.getIsJumping() && oysters[i].isActive())
{
printf("Pickup %d Dist %d\n", i, dist);
oysters[i].setActive(false);