TyFlow One Shot Pool

Опубликовано: 18 Май 2026
на канале: rman197
236
15

All balls are trying to go to the pockets by three reasons:
1. Limiter op sets minimal velocity (since frame when cue ball hits them) so they just can't stop
2. Due "MinAnglePush" script that is compares current velocity vector and directions to all six pockets and slightlly corrects velocity to pocket where angle between velocity and direction to pocket is minimal.
3. Due "MagnetForce" script.-There are 6 "magnets" particles located at the pockets. When ball is in certain radius to a "magnet" particle - it is attracted to it. Attraction force is inversely proportional to the distance. Also it compares ball velocity vector to Z axis of a "magnet" particles and attracts particles only if that angle in certain range so it doesn't attract particles that move perpendicular to or away from the pocket.
Both script ops have visualizations - "MinAnglePush" draws pirple line to selected pocket and "MagnetForce" draws attraction force as yellow line.
File:
https://rman197.gumroad.com/l/ycoqmw