Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Yosef

Pages: [1]
1
General / Re: I need help with this
« on: May 24, 2024, 07:52:47 pm »
I want to perform a circle cast for the cue ball as the player aims, stopping when it encounters an obstruction like other pool balls or the table's sides. Since Box2D doesn't support circle casting yet, how can I achieve this?

2
General / I need help with this
« on: May 22, 2024, 08:03:37 pm »
I'm developing a pool game using SFML and Box2D, and I'm currently facing an issue with creating the cue ball outline when the player aims. I have three rays that are cast: two black ones and one white one. How can I determine the position of the outline of the cue ball using the shortest of these rays as the player aims. I am using the ray cast function of box2d.

I have attached picture of the outline for further reference



Pages: [1]
anything