Timeline for Find alternate shortest paths in Unity
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 3, 2015 at 12:47 | comment | added | Jaspreet Singh | It actually worked. The screen width and height were in terms of the screen. I converted them to world points and it worked. | |
Sep 3, 2015 at 12:29 | vote | accept | Jaspreet Singh | ||
Aug 26, 2015 at 9:44 | comment | added | Jaspreet Singh | One thing i want to point out is that 0,0 is the center of the world since all the objects have Pivot point at center in Unity. So, the world width would be -Screen.width/2 to Screen.width/2, not 0 to Screen.width. | |
Aug 26, 2015 at 8:19 | comment | added | Jaspreet Singh | Edit: I changed the code to that but it's still the same. It'll just follow the obvious path. pastebin.com/WigcWQhX | |
Aug 26, 2015 at 7:01 | comment | added | dnk drone.vs.drones | Edited , the use of min , max where wrong. Added abs. | |
Aug 26, 2015 at 6:59 | history | edited | dnk drone.vs.drones | CC BY-SA 3.0 |
added 135 characters in body
|
Aug 25, 2015 at 18:25 | comment | added | Jaspreet Singh | This is what i changed my code to but the behavior is still the same. It won't take the shorter path instead it just takes the obvious path pastebin.com/b0rx1wKa | |
Aug 23, 2015 at 10:02 | history | edited | dnk drone.vs.drones | CC BY-SA 3.0 |
deleted 1 character in body
|
Aug 22, 2015 at 20:28 | history | edited | dnk drone.vs.drones | CC BY-SA 3.0 |
added 426 characters in body
|
Aug 22, 2015 at 17:48 | comment | added | Jaspreet Singh | What points should i use in it? destination and target? and How would i determine which direction to go in? I'm confused. | |
Aug 22, 2015 at 16:00 | history | answered | dnk drone.vs.drones | CC BY-SA 3.0 |