top of page
Writer's pictureAshwin Shahrawat

Carrom Board AI : Direct and Reflected Shots

 
 

Features

:Using Math:

Calculates Direct Shots

Calculates Reflected Shots (Back and Side)

Calculates minimum Velocity required to execute Strike

Finds best shot based on Accuracy (dot) and speed required

:Using PhysX 2D: (could have used math, but time...)

Checks for Obstacle on Player's Play Line and adjust accordingly

Checks for Obstacle in predicted Trajectory

:Unity Stuff:

Visualize predicted Trajectory

Restrict Shot Types using Toggle on/off

Select Player Side 1/2/3/4 for bottom/left/top/right respectively.

with Reset Pucks position, toggle




296 views0 comments

Comments


Post: Blog2_Post
bottom of page