VisualPinball.Engine
VisualPinball.Engine copied to clipboard
Debug shot component
This PR concern the new tool component that I ported from UP2: the debugshot component.
It complement the BallMoverComponent to create a shot from a mouse click+drag+release which takes the nearest ball, destroy it, create a new one and send it in the given direction with force proportionnal to the segment length.
Hitting "Space" can reshot the last entered shot without using the mouse, and holding "control" when releasing mouse will create a new ball instead of deleting the closest one...
https://user-images.githubusercontent.com/70426/228356729-c371fb04-9dc8-428b-8804-5010a28098f2.mp4
Sweet!