Hi,
I am writing a game with mechanics quite similar to pool: you hit a white ball with the cue and it can hit other balls or bounce on walls. Concept:
I am using the bouncy material from the standard Physics assets on the balls. The expected trajectory is illustrated by the black lines (actually rendered in-game with a process based on ray casting). The blue and brown sections are obstacles/walls that the balls can collide with.
However, after colliding with the brown surface, the white ball does not follow the trajectory illustrated by the secondary black line. The actual trajectory is closer to the surface normal.
I’m not sure what I’m doing wrong. Can I somehow configure the bouncy material to reflect correctly off an obstacle?