- Joined
- Mar 5, 2008
- Messages
- 3,887
Hello =)
Again me and my bad math...
So I've been working on a spell that makes special effects in a line from position of caster to targeted location... now everything would be just nice if the cast range would be constant like 700, but now I have the problem with making special effects in order, so it wouldn't matter if cast range is 900 or 100.
You know what i mean, here is a sketch of how it should look
The formula should involve distance between points (from caster to targeted location) Loop for integer A, and something i can't figure out :S
Oh, i forgot to mention loop repeats 20 times ;D
Thanks!
~Berz
Again me and my bad math...
So I've been working on a spell that makes special effects in a line from position of caster to targeted location... now everything would be just nice if the cast range would be constant like 700, but now I have the problem with making special effects in order, so it wouldn't matter if cast range is 900 or 100.
You know what i mean, here is a sketch of how it should look
The formula should involve distance between points (from caster to targeted location) Loop for integer A, and something i can't figure out :S
Oh, i forgot to mention loop repeats 20 times ;D
Thanks!
~Berz