Quote:
Originally Posted by ploply
I set one of my events as 'When mouse is clicked on something' to run my shooting method but my one issue is that the ball doesn't go in the direction I want it to. Also set the barrel of the gun as the vehicle to the sphere and put the sphere in the barrel.
|
Here is a thought:
Did you check the orientation of the ball?
If the orientation of the gun is such that the barrel is aligned to one of the axes, then set the orientation of the ball to match that of the gun (use method "orient to" of the sphere/ball using the gun as argument), and use the appropriate direction (left, right, etc..based on whatever axis is aligned with the barrel) to moving the ball when shooting.