Question: I ' m working on a 2 D unity game and I've currently gottent the screen size from camera and the self size of my
Im working on a D unity game and I've currently gottent the screen size from camera and the self size of my sprite how do i check for collision and make sure it bounces back in C# Using those values, check for collision with the wall in Update
Respond to collisions by moving the entity out of the wall and changing the velocity as discussed in the video above.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
