Question: So i ' m working on a 2 D game so far I have gotta the screen size from camera, gotten the size of my

So i'm working on a 2D game so far I have gotta the screen size from camera, gotten the size of my sprite and made the sprite go off in a direction at a certain speed how do I now work with collisions using those values, check for collision with the wall in Update Respond to collisions by (1) moving the entity out of the wall and (2) 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!