Problem with Ball Object

The ball is moving upwards, I have added the rigid body Collider and the box collider too, I am unable to rectify

Hi Mayank,

What do you have in the way of gravity settings, both on the ball and the game in general?

for ball gravity scale is 1 and for game it is -9.81

Hi,

Could you zip your project files up and share them with me, I’m happy to take a quick look for you.

The forum will allow uploads of up to 10MB, if your project files (zipped) are larger than that you would need to use a service such as Google Drive or Dropbox, and then share the URL.

It worked… after writing the code for the ball object, It worked.:grin:

Glad to hear the problem is now resolved, although it would have nice to have been able to identify why the ball was floating in the first instance.

My best guess would be that it was making contact with the paddle and the physics caused a rebound but that would only be a guess.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms