# How do create real aiming on BILLIARD ?

0 favourites
• 9 posts
From the Asset Store
Fully commented source code/event sheet & sprites to create a space shooter game
• How do create real aiming on BILLIARD

with rotate ball angle

HERE CAPX

https://www41.zippyshare.com/v/K4iKmOtx/file.html

use TRACE plugins

• Hi Vankiz,

I tried to make a snooker game some time ago.

Subscribe to Construct videos now

The issue I soon found was that its not possible to have accurate aiming. From what I looked up, when the balls collide and the build in physics detect a collision its not at the correct time so it throws off the aiming (shown in video)

• Mayfly Did you set "Bullet=yes" in physics properties for balls?

Well, you can "cheat" and adjust the ball trajectory after the collision. Before the shot save reflection angle in a variable. When the two balls collide, adjust ball2 velocity, making it move at previously calculated angle.

• ## Try Construct 3

Develop games in your browser. Powerful, performant & highly capable.

Construct 3 users don't see these ads
• Mayfly Did you set "Bullet=yes" in physics properties for balls?

Well, you can "cheat" and adjust the ball trajectory after the collision. Before the shot save reflection angle in a variable. When the two balls collide, adjust ball2 velocity, making it move at previously calculated angle.

yes same problem

• Mayfly Did you set "Bullet=yes" in physics properties for balls?

Well, you can "cheat" and adjust the ball trajectory after the collision. Before the shot save reflection angle in a variable. When the two balls collide, adjust ball2 velocity, making it move at previously calculated angle.

with bullet same problem

• vankiz I was replying to Mayfly.

In your capx you are showing reflection angle for the white ball and it's not correct. In the real world billiard game the cue ball can only go backwards if you apply a strong back spin.

You need to show reflection angle of the target (colored) ball. Once you get the angle calculated and shown (as on Mayfly's video), you can adjust physics velocity for the target ball to match that angle.

• dop2000 - Yes I think adjusting it after impact will be the way to do it

• dop2000 I was replying to Mayfly.

In your capx you are showing reflection angle for the white ball and it's not correct. In the real world billiard game the cue ball can only go backwards if you apply a strong back spin.

You need to show reflection angle of the target (colored) ball. Once you get the angle calculated and shown (as on Mayfly's video), you can adjust physics velocity for the target ball to match that angle.

after with spont no correct

construct.net/en/forum/construct-2/how-do-i-18/create-trace-ball-pool-game-143299

• 9 posts