A game played on a tabletop, usually with several balls, one or more of which is hit by a cue.
Questions tagged [billiards]
27 questions
10
votes
2 answers
Solving Billiard Shot Impulse Trajectory
I'm using bullet to make a pool simulator and need to accurately simulate shots that are humanly possible. To find the impulse to apply to the cue ball I use the locations of the object ball, pocket center and cue ball.
(source: poolplayers.com)…

tkefauver
- 491
- 5
- 19
9
votes
5 answers
Pool Billiard AI
Im implementing a pool billiard game in Java and it all works fine. It is a multiplayer game, but nevertheless, it should also be possible to play it alone. For this purpose I'm trying to implement a simple KI. At the moment, the KI choose just…
anon
6
votes
1 answer
Unity3d Billiard/Pool aiming issue
I'm trying to calculate what angle to hit a pool ball and predict where ball will go to..
I thought target ball should move within a normal direction.. but it moves
on totally different direction
RaycastHit2D hit =…

wrRios
- 104
- 6
4
votes
1 answer
What physics engine would be good for a Silverlight pool engine?
I have looked into the Farseer engine, but I barely scratched the surface. Would it or another engine be good for a reasonably accurate pool game engine?

BenMaddox
- 1,780
- 3
- 18
- 30
3
votes
3 answers
ImportError: No module named exceptions
i'm trying to install kitsune in the ubuntu terminal. I am not able to initialize the database. When i give the command ./manage.py syncdb --migrate , i get the following error
Error: Tried importing 'settings_local.py' and 'settings.py' but neither…
user3162432
3
votes
1 answer
Celery WorkerLostError on os x 10.8.5
I've django application which use celery.
Celery works with rabbit as broker.
When i use redis in task, celery return WorkerLostError.
Command to start celery:
python manage.py celeryd -BE --loglevel=INFO
Example of code:
class TestTask(Task):
…

Henry
- 117
- 7
2
votes
2 answers
Ball to Ball Collision
I read the page Ball to Ball Collision - Detection and Handling and am a bit confused about the code for resolve_collision. I get everything except what is 1.0f + Constants.restitution? What is 1.0f and what is Constants.restitution?

user700996
- 463
- 2
- 10
- 18
2
votes
4 answers
How to pre-calculate the trajectories in a billiard (pool) game?
Most collision detection algorithm in billiard uses a naive approch, where the balls' positions are incremented and then checked for collisions. This method dosen't work well when the speed are really high because we might "skip" collisions.
I have…
Rivari
2
votes
1 answer
Rendering points (particles) with OpenGL 3+
OpenGL 3 Render points: The points are stored within a space partition tree. The tree has points with colour and normal information attributes.
The point information and its attributes is stored as a set of buffers.
An offset buffer is a vector…

Ram
- 3,045
- 3
- 27
- 42
1
vote
2 answers
Trying to find a way to "slide" cuestick in Actionscript 3.0 Billiards Game
I am trying to get the cue to stop rotating when it is in the MOUSE_DOWN event, but continue to add the distance of mouseX and mouseY to the distance of the cue from the cueball. In other words, for the cue to slide along the line the cue is aimed…

Alec Zurilgen
- 13
- 2
1
vote
1 answer
3D ball rolling on wrong axis LibGDX
Hello I'm trying to make a billiards game using libgdx. I'm using 3d models for the balls and an Orthographic Camera to view them. I am having trouble getting them to roll correctly after rolling on a different axis. Here is a clip of what they look…

Dmanap
- 11
- 2
1
vote
1 answer
Bouncing ball in a circle (Python Turtle)
I am currently working on a circular billiards program using Turtle. My problem is that I can't figure out what angle or position I need to give Python once the ball has reached the sides of the circle in order to make it bounce. Here is the part of…

Emma Brenner
- 11
- 2
1
vote
1 answer
How do I make my ActionScript 3 Pool Game more realistic with Box2dFlash?
Here is my pool game engine done in Box2dFlash.
I would like to make this simulation more realistic as I received
mixed opinion from pool experts.
Here is my standard wall setting:
var leftWall = _sim.addBox({x:0.9, y:8.15, width: 0.6, height:…

mirzahat
- 1,025
- 2
- 10
- 19
1
vote
1 answer
How can we implement a bidimensional collision on a NetLogo Billiards?
We're two videogame design and development students and we have to make some program using NetLogo. Our idea was a Billiards, and we have done it as well as we could, but there's impossible for us to imagine how can we implement the bidimensional…

Galican
- 13
- 4
1
vote
1 answer
Django Celery throws error after changing databases
I recently was forced to switch databases to mysql from sqlite3 due to high concurrent write problems when running my celery tasks (these worked fine with sqlite3). Now that I have the mysql database configured, It throws a…

robert
- 819
- 1
- 10
- 24