Dec 19, 2016 21:42
just fo interest, is there a need for the z value in the velocity
Dec 19, 2016 21:09
Now the range is okay, but it still keeps shoting in the wrong direction. Gues I try it tomorrow
Dec 19, 2016 20:34
thanks for the script, i'll try it after I'm done
Dec 19, 2016 20:33
But it will hit if its in range regardless of the speed?
Dec 19, 2016 20:31
a bit afk trying to reach my friends in berlin as there was a suspected terrorist attack
Dec 19, 2016 20:30
but if e.g the target ist 10 units away would 10 or 30 or 50 vMax result in a hit directly near to the ground on the given pistion
Dec 19, 2016 20:28
bc currently an increasing makes the projectile go further
Dec 19, 2016 20:27
would the velocity affect the hit position?
Dec 19, 2016 20:11
Sorry for annoying you, I feel really stupid at the moment.
Dec 19, 2016 20:03
dou you have occasionally the code for such a display? usually I don't work with Unity as I have a relly bad understanding of maths and physics
Dec 19, 2016 19:58
besides this, is there another way to check this?
Dec 19, 2016 19:58
okay
Dec 19, 2016 19:55
what's p0 in your case?
Dec 19, 2016 19:53
-9.81 seems good
Dec 19, 2016 19:46
scene gravity can be altered where?
Dec 19, 2016 19:39
and here's the scenario my maths teachers warned me
Dec 19, 2016 19:36
sorry unity keeps crashing
Dec 19, 2016 19:28
and if I use t max it should theoretically still land on top of the enemy
Dec 19, 2016 19:28
using t min causes the projectile going left
Dec 19, 2016 19:26
still upwards but slower
Dec 19, 2016 19:25
dX: -0.6012058 dY: 0.27
B: 97.354 discroot: 97.13953
Min: 0.06683129 Max: 2.012526
Vel: (-0.3, 10.0, 0.0)
Dec 19, 2016 19:25
restarted the whole thing, now i get different values
Dec 19, 2016 19:19
B: 397.354 discroot: 397.3015
Dec 19, 2016 19:16
matches 100% the used formula
Dec 19, 2016 19:16
Vel: (-0.1, 20.0, 0.0)
Dec 19, 2016 19:14
whats your t_max formula?
Dec 19, 2016 19:13
Min: 0.03306193 Max: 4.067976
Dec 19, 2016 19:08
Vel: (-0.1, 20.0, 0.0)
Dec 19, 2016 19:05
can not find it
Dec 19, 2016 19:04
hm, where?
Dec 19, 2016 18:59
hm
Dec 19, 2016 18:59
Vel: (0.0, 195.4, 0.0)
Dec 19, 2016 18:53
float deltaX = (targetPos.x - exitPos.x);
is the code for the calculation
Dec 19, 2016 18:51
okay
Dec 19, 2016 18:50
should I use abs()?
Dec 19, 2016 18:50
dX: -0.6012058 dY: 0.27
Dec 19, 2016 18:43
thanks did not knoew of the usage as parameter, now the projectile flies way faster but still straight 90 degree upwards
Dec 19, 2016 18:40
@DMGregory Hm, sorry, I can't follow. Would you mind to point out which specific part of the code should be changed as I'm not familar with these methods
Dec 19, 2016 18:40
@DMGregory edited my question using your formula. Works halfways except for the described bug
Dec 19, 2016 18:40
Also, I need to implement a max range and I have no idea how to do this with your formula.
Dec 19, 2016 18:40
@DMGregory that looks great but I have tried this also but had problems with that. (Can you tell me how the curves are drawn in Unity)
 
Nov 29, 2016 20:49
@MatthieuM. Thanks for the tip, the last sentece describes my self assessment perfectly. I always think I have somehow achieved everything so far by 'pretending'
 
Nov 12, 2016 07:40
Actually, I never heard about this meaning here in Saxony.
 

 Bot Overflow

Room for chatbot-related clutter from Root Access. The bot is ...
Oct 27, 2016 09:20
I don't know what I expected..
Oct 27, 2016 09:19
!!meercaaaaaaaaaaaat
Oct 27, 2016 09:19
!!{this_is_impossible}
 
Oct 20, 2016 17:08
That's an interesting aspect.
 

 Ask Ubuntu General Room

Normally: General discussion around Ask Ubuntu, Ubuntu & offic...
Oct 13, 2016 16:02
Hi, I wanted to boot Ubuntu from an USB drive but it get stuck everytime. I pressed esc during the boot screen and it's stuck at this process: cups.service
Any idea how to fix this?
PS: THe fan starts every ~30 seconds for about 10 seconds
 

 Game Development

Game development and other polite discussion. Game development...
Sep 20, 2016 09:57
@Jon If you want to know, what caused this error; the Icons were saved as sprites not as textures :'D
Sep 19, 2016 22:44
If something comes to your mind, that could eventually help, fell free to tag me :D