Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
SoftwareGuy committed May 23, 2021
1 parent e837415 commit f45c673
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 122 deletions.
2 changes: 1 addition & 1 deletion Assets/Ignorance/Demo/PongChamp/Scripts/AtariPongBall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ void OnCollisionEnter2D(Collision2D col)
// col.collider is the racket's collider

// did we hit a racket? then we need to calculate the hit factor
if (col.transform.GetComponent<Player>())
if (col.transform.GetComponent<AtariPongBall>())
{
// Calculate y direction via hit Factor
float y = HitFactor(transform.position,
Expand Down
69 changes: 0 additions & 69 deletions Assets/Ignorance/Demo/PongChamp/Scripts/Ball.cs

This file was deleted.

12 changes: 0 additions & 12 deletions Assets/Ignorance/Demo/PongChamp/Scripts/Ball.cs.meta

This file was deleted.

28 changes: 0 additions & 28 deletions Assets/Ignorance/Demo/PongChamp/Scripts/Player.cs

This file was deleted.

12 changes: 0 additions & 12 deletions Assets/Ignorance/Demo/PongChamp/Scripts/Player.cs.meta

This file was deleted.

0 comments on commit f45c673

Please sign in to comment.