Skip to content

Commit

Permalink
Fixed bug where you would fall through terrain
Browse files Browse the repository at this point in the history
  • Loading branch information
luukholleman committed Oct 6, 2015
1 parent 4f56108 commit 0d55078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PeepCam/PeepCam.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void Update()

if (Physics.Raycast(ray, out hit, Mathf.Infinity))
{
EnterHeadCam(hit.transform.position + Vector3.up);
EnterHeadCam(hit.point + Vector3.up);
}
}
else if (Input.GetKeyUp(KeyCode.Tab))
Expand Down

0 comments on commit 0d55078

Please sign in to comment.