Search Unity

how do i create the mesh mechanics in this game, new to mesh

Discussion in 'Scripting' started by ravianand, Jul 18, 2021.

  1. ravianand

    ravianand

    Joined:
    Jan 21, 2020
    Posts:
    8
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,911
    Months of hard work and research probably went into this.
     
    ravianand likes this.
  3. ravianand

    ravianand

    Joined:
    Jan 21, 2020
    Posts:
    8
    so
    where to start any ideas?
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
    Here's something to turn 2D loops / shapes into 3D geometry: look for the
    testfingerpolygons.unity
    scene in my MakeGeo project:

    MakeGeo is presently hosted at these locations:

    https://bitbucket.org/kurtdekker/makegeo

    https://github.com/kurtdekker/makegeo

    https://gitlab.com/kurtdekker/makegeo

    https://sourceforge.net/p/makegeo

    As for the IK on the heels / legs or friction rules, the game sort of seems random. The only time I saw the avatar NOT advance was with circular shapes climbing out of water... otherwise they all sorta looked like they advanced the avatar in some way. It wasn't clear to me what was even necessary... was it friction?? What characteristic(s) of a shape gave it friction or not?
     
    ravianand likes this.
  5. ravianand

    ravianand

    Joined:
    Jan 21, 2020
    Posts:
    8
    i
    i am not sure, because i got this as a project. so i don't know where to start
     
  6. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,745
    Well there's the obvious shape-to-3D extrusion, and some of that is in the above link.

    Then there's the animation, and then the animation is influenced by the IK fed up through the legs.

    As Praetor announced it's not something you'll knock off in an afternoon, generally speaking. You'll have to iterate and see things that work. Get a single floating animated leg responding correctly , etc., build in layers... iterate.
     
    ravianand likes this.
  7. ravianand

    ravianand

    Joined:
    Jan 21, 2020
    Posts:
    8
    ok thank you for the help, will give it a try have makegeo