Questions tagged [billiards]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
115 views

Unity - Billiard balls unrealistic movement

So, I have this problem, even when I apply a small amount of force, the balls seem to get pushed away easily. Here's how they should behave (GIF from 8 ball pool game): And here's how I have it : ...
user avatar
0 votes
1 answer
46 views

Ball's spin speed seems to change erratically after AddForceAtPosition impulse

I'm trying to make a billiard game, and trying to add "spin" (aka English) functionality. The way I'm using to add spin is by using AddForceAtPosition(). Here's the code: ...
user avatar
0 votes
0 answers
23 views

How to create a aimLine in a pool game on unity2d?

I want to design a Aim Line for my player in unity2d. The game is split screen so what I basically want is that whenever its my player turn I want my player which is a ball to cast a raycast like you ...
user avatar
  • 7
3 votes
1 answer
435 views

Predicted trajectory becomes less accurate in a side-on collision

In my 2D billiards game, I have it so that when the user clicks and drags with their mouse, a Physics2D.CircleCast is projected from the cueball to wherever the mouse is. If the circle happens to hit ...
user avatar
1 vote
2 answers
565 views

How can I sync billiard balls in network?

I'm developing a billiard game my problem is I don't know how can I sync balls in network I use forge for networking but feel free to answer photon or unet because I know them. What I tried 1.sending ...
user avatar
8 votes
1 answer
2k views

How can I Implement spin in billiard game?

I'm not sure that you played billiard or snooker before.if you played you should know about spin. but anyway if you don't know about it you can see it in this video I want to Implement spin like this ...
user avatar
0 votes
1 answer
166 views

How can the ball moving like billiard after collision with wall?

I tried ball.velocity = Vector3.forward * speed and also *=-1 when the collision is occurred(It only works for straight way. But I want the ball movement be liked in photo. How can i do it? Thank you ...
user avatar
0 votes
0 answers
96 views

How can I calculate the initial velocity of a cue ball after hitting it with a cue stick?

I'm currently building a billiard game, and I'm faced with the following problem: A cue ball is hit with a stick at an angle equal to Θ. Given that the stick is hit at the exact center of the ball, ...
user avatar
1 vote
2 answers
2k views

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 ...
user avatar
  • 85
1 vote
0 answers
447 views

How to resolve multiple simultaneous ball collisions in a pool game?

I'm trying to simulate a break shot in billiards (1 ball hits a pyramid of 15 balls). The formula for 2D ball collision works correctly in my game. But when it is applied to the break-shot, the result ...
user avatar
1 vote
1 answer
219 views

Basic billiards game: Can't detect collision between cuestick and cueball

I have a basic Unity project on GitHub. Basically, I have a Cuestick that aims and shoots using the mouse. You can rotate around the cueball with your mouse and when you're ready to shoot, you can ...
user avatar
3 votes
3 answers
8k views

What physics settings do I need to apply to make the pool game realistic?

I want to create a pool game using Unity. I added the spheres as playballs and cubes as the walls. I added a rigidbody to all objects and Im able to do some basic collisions like in a pool game. My ...
user avatar
  • 267
2 votes
2 answers
958 views

How do I implement friction in a billiards game?

I'm having trouble implementing friction in a billiards game. Currently, the ball only slows on collision with the edges, but I also want some friction with the background. How can I implement ...
user avatar
  • 57
6 votes
1 answer
4k views

Predicting physics/trajectory for pool/billiards games

I'm thinking of making a quick proof of concept of a billiard-style game mechanic, where the player has perfect information of what is about to happen. Here's a good example: I'm only mildly ...
user avatar
  • 543
3 votes
0 answers
310 views

How can I make bodies that do not stick to the wall in Bullet Physics? [duplicate]

Possible Duplicate: Physics engine recommendation which can simulate pool game correctly? I made a Billiards scene with Bullet Physics, but I've got a problem. When the ball is slowing down near ...
user avatar
  • 949
0 votes
1 answer
1k views

Physic engine for snooker/billard game [duplicate]

Possible Duplicate: Is there an algorithm for a pool game? I think most billard/snooker games have a lot of problems with their physic engines. They are far away from realistic and you can't ...
user avatar
  • 663
15 votes
3 answers
22k views

Is there an algorithm for a pool game?

I am looking for algorithm to calculate direction and speed of balls in a pool game. I am sure there has to be some type of open source code for this since pool games are some of the oldest computer ...
user avatar