How do you create a randomly generated path.

I need to know how to make a randomly generated path that is possible to move across. Something like the one from on the line.

Comments

  • judescrapperjudescrapper Member, BASIC Posts: 9

    I don't know dude, I was thinking the same thing.
    I wish someone else came across this...

  • judescrapperjudescrapper Member, BASIC Posts: 9

    Maybe you could make different scenes and make a scene ID and tell it to pick a random scene...somehow

  • vernr1vernr1 Member, PRO Posts: 5

    Use the PathFind behavior to 'create' a path. In order to make it random, you can place randomized 'weights' into the pathTable so that the shortest route it finds is different each time (due to the randomized weights). Now if I read your question correctly you want to generate a footpath across say a grassy field. To do this you would create the footpath using different segments of art (on actors), and place them at co-ordinates dictated by the pathfind tool. Your movement algorithm would then require your avatar to be colliding with one of these footpath actors in order to move.

    This is just basic idea behind how something like this COULD work. I can see a few problems that will present itself, but hey, that's half the fun!

  • RThurmanRThurman Member, Sous Chef, PRO Posts: 2,880

    There are probably many ways to do this. Here is a stab at it.

Sign In or Register to comment.