Skip to main content
edited tags
Link
DMGregory
  • 136.3k
  • 22
  • 247
  • 373
Bumped by Community user
Post Reopened by user1430
deleted 45 characters in body; edited tags; edited title
Source Link
user1430
user1430

Unity3D: Get Velocity How can I determine the direction of the balls after collision in billiards game?

I'm making a billiard game and I have two questions:

How do I find the velocity of two balls when they collide with each other and how do I apply it to both balls  ?

I already know the angles that they're gonna move, I just need to find the velocity that they'll move in those directions.

I was never good at physics/physics programming so I would appreciate any help given! Btw, myMy game is in 3D, and I'm using Unity.

Thank you for your time! I don't want to use Unity's built-in physics to compute the result in this case, I'd like to know how to compute it myself.

Unity3D: Get Velocity after collision

I'm making a billiard game and I have two questions:

How do I find the velocity of two balls when they collide with each other and how do I apply it to both balls  ?

I already know the angles that they're gonna move, I just need to find the velocity that they'll move in those directions.

I was never good at physics/physics programming so I would appreciate any help given! Btw, my game is in 3D.

Thank you for your time!

How can I determine the direction of the balls after collision in billiards game?

I'm making a billiard game and I have two questions:

How do I find the velocity of two balls when they collide with each other and how do I apply it to both balls?

I already know the angles that they're gonna move, I just need to find the velocity that they'll move in those directions.

My game is in 3D, and I'm using Unity. I don't want to use Unity's built-in physics to compute the result in this case, I'd like to know how to compute it myself.

Post Closed as "Duplicate" by DMGregory, Almo, Kromster, Seth Battin, user1430
Source Link
Ssiro
  • 85
  • 1
  • 5
  • 20

Unity3D: Get Velocity after collision

I'm making a billiard game and I have two questions:

How do I find the velocity of two balls when they collide with each other and how do I apply it to both balls ?

I already know the angles that they're gonna move, I just need to find the velocity that they'll move in those directions.

I was never good at physics/physics programming so I would appreciate any help given! Btw, my game is in 3D.

Thank you for your time!