25.10.2014, 06:01
I like it, and I completely understand it now...
But, Could you make a similar code, but for camera vectors instead of players facing angle? Also, using camera vectors and an amount of power in which the object is launched, could you calculate a height instead of using a set height? In the first picture from the main post, the power is the same in each angle, but the height is not set, that is the correct way for doing this...
I will temporarily use the code you have just presented, it does work, but I don't like having a set height like that.
Also, the frame count, I think there should be a way to calculate the number of frames too, like each frame should be 2 meters apart or something...
Thanks Pottus, this has really helped alot...
But, Could you make a similar code, but for camera vectors instead of players facing angle? Also, using camera vectors and an amount of power in which the object is launched, could you calculate a height instead of using a set height? In the first picture from the main post, the power is the same in each angle, but the height is not set, that is the correct way for doing this...
I will temporarily use the code you have just presented, it does work, but I don't like having a set height like that.
Also, the frame count, I think there should be a way to calculate the number of frames too, like each frame should be 2 meters apart or something...
Thanks Pottus, this has really helped alot...