You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I'm just trying to do a simple collision between two cubes but there seems be be no colliding, I was wondering if anyone could see a problem in my code?
Then I call the update method at 60hz and draw the cube at the new position. The gravity works and my cube falls but it goes straight through the floor to infinity. Thanks
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi I'm just trying to do a simple collision between two cubes but there seems be be no colliding, I was wondering if anyone could see a problem in my code?
Then I call the update method at 60hz and draw the cube at the new position. The gravity works and my cube falls but it goes straight through the floor to infinity. Thanks
Beta Was this translation helpful? Give feedback.
All reactions