- Joined
- Sep 12, 2008
- Messages
- 657
is it possible to caculate the fastest road from point A to B,
and make sure the path is walkable?
like..
create peasents on diffrence of 0.005 seconds between each spawn,
on that same path, making sure its pathable?
* solved *
New problem:
i have 2 units,
1 is the caster
2 is the target
i got their points (x, y),
but i need to know the angle from point 1 to point 2, so they will crash into each other.
example:
if i got a unit with 180 degrees,
and a unit left to it.
and the first unit moves forward with same 180 degrees,
they will never meet.
how do i find the angle the first unit has to move to meet that other unit?
important:
i wont be on for the next 2 days so ill read answers when i come back.
(israel holiday, we cant use electronic's for the next 2 days..)
thanks in advance.
and make sure the path is walkable?
like..
create peasents on diffrence of 0.005 seconds between each spawn,
on that same path, making sure its pathable?
* solved *
New problem:
i have 2 units,
1 is the caster
2 is the target
i got their points (x, y),
but i need to know the angle from point 1 to point 2, so they will crash into each other.
example:
if i got a unit with 180 degrees,
and a unit left to it.
and the first unit moves forward with same 180 degrees,
they will never meet.
how do i find the angle the first unit has to move to meet that other unit?
important:
i wont be on for the next 2 days so ill read answers when i come back.
(israel holiday, we cant use electronic's for the next 2 days..)
thanks in advance.
Last edited: