Posts: 36
Threads: 7
Joined: Jun 2015
Thanks: 18
Given 1 thank(s) in 1 post(s)
01-09-2016, 12:56 AM
(This post was last modified: 01-09-2016, 12:58 AM by JuliB.)
Good Idea to set the gravity down, but the problem is more difficult! The snowball is pull in 4 directions between the big sky directions (N E S W). That means the ball flies to nordeast nordwest southeast and southwest. If I shoot between two directions ( nordeast and nordwest -> nord) the ball flies right. Is that a vector issue ?
Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
That's strange. Could you give us your code?
Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
The only thing I can think of i that you set the LookVector way too high. Perhaps try to lower it.
Posts: 4,628
Threads: 115
Joined: Dec 2011
Thanks: 693
Given 494 thank(s) in 423 post(s)
01-17-2016, 08:57 AM
(This post was last modified: 01-17-2016, 09:01 AM by NiLSPACE.)
Sorry for the late answer.
I've tried your code, and as I thought the speed was too high. If you multiply the lookvector by 80 instead of 300 it works fine for me. The limit is somewhere around 90. When I multiplied it by that it started to go in a different direction.
Posts: 36
Threads: 7
Joined: Jun 2015
Thanks: 18
Given 1 thank(s) in 1 post(s)
Thx! You are right. Maybe I'll try to analyse the single vectors, because this is a very strange phenomenon. Also I use lua variable tables now. If I get out more or hang again I'll write.