For basketball shooting functionality implementation for my game, I have purchased this plugin.
This plugin working very well, shooting and physics implementation is really good.
But as per my game setup, I required to add small touch or swipe area through which game players can swipe and shoot the ball.
Check below image to get my point clearly:
As per current implementation, shooting is working based on bottom center shoot point as like I have shown.
Complete code was working based on Unity units, just swipe points get converted to ScreenToWorldPoint.
Now I want to switch complete swiping functionality to right side swipe area, as like I have mentioned above image, where I have start to end data in pixels.
What logic shall I required to write convert it into world points?
So as like center screen swipe it starts working with this rectangular touch area.
I knew this is a broad question but I expect for some hint for this implementation.