13.02.2019, 05:15
Quote:
If the z is half the distance then that's a circle, which is very easy: r^2 = z^2 + d^2, where r is your radius (the half length you mentioned), z is the height, and d is the distance traveled horizontally. However, that won't give a very smooth vertical stepping, also, you probably want a parabola, not a circle.
As for speed - do you want gravity to take effect? That would increase the speed going down, and decrease it going up (which implies some initial acceleration to go up). Or is constant speed OK? I said above that a constant horizontal speed would give inconsistent vertical speed, but that might actually be a good thing. |
As for speed, speed is fine being constant.. the server itself is very low gravity so I feel as though it would really fit the part just fine.
In short I would like to create mortars for a war server I've been working on for many years now, I already have machine turrets and tesla towers in place for player base defense, it just seems a bit naked to me without any mortars as you can imagine and the half circle type movement using floatsin/cos doesn't really do it justice in my opinion.
@Pottus, thats actually brilliant idea mate, not quite what I'm after though.. but thanks for the suggestion all the same
