Reputation
3,532
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
12 24
Newest
 Yearling
Impact
~192k people reached

Oct
22
comment Rotating sprite around another sprite
Just recalled some billiards knowledge that simplifies the impulse point: the point of collision with the cue does not really affect the angle of the cue ball, only its spin. So you can set the impulse point as the center of the cue ball. Anyways, your pool game currently only allows hitting the cue ball in the center, so there would be no spin. (If you want, you could manually add spin based on the offset of the cue stick.)
Oct
18
comment Rotating sprite around another sprite
Don't use the position of the cue. Use the fact the collision happens on the stationary ball (which is a perfect circle). You already know the angle from the cue's orientation (might have to use some trig to get the actual angle).
Oct
15
answered Rotating sprite around another sprite
Jul
15
awarded  Yearling
May
13
answered Sphere to plane collision never rearching resting contact
May
12
awarded  Nice Answer
Apr
11
comment Collision Resolution
@AntonChikin: Kodicek's collision resolution algorithm only takes three inputs: mass, velocity, and normal at the point of collision. Kodicek always calculates the normal at the point of collision when detecting collisions. He explains many different types of collision detection, including a box hitting another box. Just plug in that collision detection algorithm into the collision resolution algorithm. See chapters 8-10 of Kodicek's book for a full explanation. (Note rotational physics requires more math, which is also covered later in the book...)
Apr
9
awarded  Nice Answer
Feb
20
awarded  Nice Answer
Sep
30
awarded  Explainer
Jul
15
awarded  Yearling
Jul
7
comment Efficient data packaging for a client-server network
@Gerstmann: Raknet is open source (once again): github.com/OculusVR/RakNet
Jun
23
revised Efficient data packaging for a client-server network
added 500 characters in body
Feb
27
awarded  Custodian
Nov
24
awarded  Nice Answer
Jul
15
awarded  Yearling
Jul
9
revised Tips for writing the main game loop?
added 5 characters in body
Jul
3
revised Tips for writing the main game loop?
added 13 characters in body
Apr
1
revised Handling random with unique chance in Python
added 6 characters in body
Feb
6
revised Resolving a collision with forces
added 148 characters in body