Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

VertExmotion [Released]

Discussion in 'Assets and Asset Store' started by kalagaan, Oct 30, 2014.

  1. Yokogeri

    Yokogeri

    Joined:
    Oct 14, 2013
    Posts:
    21
    Hi kalagaan!

    I've noticed that vertexmotion seems to work perfectly when it comes to bounce/muscle/breast-physics, but would hair-physics be possible to achieve too?

    Here's an example:
     
  2. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    Hi Yokogeri,
    Nice video, the effect is really cool.
    VertExmotion is perfect as a secondary layer of movement, I think that this kind of hair-physics effect could be done with bones for large amplitude movements and VertExmotion for micro-movements, so the animation could be very complex and smooth.
    I'll work on a demo, interresting challenge ;)
     
  3. DrewMedina

    DrewMedina

    Joined:
    Apr 1, 2013
    Posts:
    418
    great asset! I'm having an issue though, when I tweak a physics material thats attached to an object's sphere collider, it breaks the dynamic VertExmotion. a slight tweak to the friction or bounce and the mesh is no longer usable with vert anim. I've tried everything I can to try to reset it, its even broken after a reload. any ideas?

    update: I can temporarily fix the physics tweak by deleting the broken mesh, making another duplicate off a working one and re-applying my physics material. Now it bounces and wiggles.
    So basicically, if I tweak a physics material for a mesh with the vert tech, it breaks. If I reapply to a new dupe, it works. weird. I also see this happen if I change the angular drag value of my rigidbody, even changing it back doesnt fix it. The vert tech breaks and is unrecoverable.
     
    Last edited: Mar 26, 2015
  4. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    Hi HeadTrip,
    very strange, physics material should not interfere with VertExmotion...
    I did some tests without issue.
    What is your version of Unity?
    Could you send me a sample? contact@kalagaan.com
     
  5. flyingaudio

    flyingaudio

    Joined:
    Dec 3, 2010
    Posts:
    98
    Just checking back to see when you think this feature might be added?
     
  6. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    Sorry for the delay :(, but I did some tests and the result is not clean yet.
    I have to reduce the number of sensors to add this feature on SM2 shaders, so it would break compatibility with older projects. I'll probably add this on a more advanced mode using SM3, I want to keep Vertexmotion user friendly, that's why I didn't include it yet.
    I'm also working hard on other features, and I need time for this.
    If you need this for your project, send me an email with your invoice number, and I'll help you ;)
     
  7. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    Last edited: Mar 29, 2015
  8. DrewMedina

    DrewMedina

    Joined:
    Apr 1, 2013
    Posts:
    418
    Awesome!! I'm really enjoying this tech, great work... looking forward to this feature!
     
    kalagaan likes this.
  9. flyingaudio

    flyingaudio

    Joined:
    Dec 3, 2010
    Posts:
    98
    Thanks for the preview.
     
  10. IndieAner3d

    IndieAner3d

    Joined:
    Oct 20, 2014
    Posts:
    77
    Hiii@Kalagaan^^

    I add your Editor/Extension in my Project.
    I add it on an low poly grass Mesh,
    the same settings as in the PDF described.

    But in the play mode they are no reaction... :--/
    No reaction from other
    rigidbody´s or the player.

    I try to use it for grass/plants
    which collide with the environments...

    I think it´s work
    because the inflate 1.0
    is visible...

    Maybe I just need
    to add/tweak some settings
    to get it work...

    P.S. I add a GIF file ;--)
    P.S.S Have trouble to add the code for custom shader too Oo
    Can you post it as code so it´s easy to copy&past...

    VertExaminationPlantNoPhysicReact..gif
     
    Last edited: Mar 31, 2015
  11. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    Hi,
    you have to add a collider :
    - Go to sensors panel
    - Expand "collider settings" menu
    - Add collider
    - set layer mask to Everything or choose a physic layer
    - Add a collision zone
    - Set up position and radius

    It should work :)
     
  12. IndieAner3d

    IndieAner3d

    Joined:
    Oct 20, 2014
    Posts:
    77
    Hmm...
    I have all settings considered Oo
    Maybe I have something overlook oO
    Hmm...
    I have to experiment a lil bit... more... ^^
     
  13. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    If you need help, send me a sample to contact@kalagaan.com ;)
     
  14. IndieAner3d

    IndieAner3d

    Joined:
    Oct 20, 2014
    Posts:
    77
    ^___^

    Niceee
    Possible that I send you a sample,
    in the course of the day...

    ^___^
     
  15. SpectralEdge

    SpectralEdge

    Joined:
    Sep 17, 2012
    Posts:
    33
    Sorry if this has been asked before but I couldnt ind it in a quick search of the thread. How do you edit the second material on a mesh with vertex motion? I have a dragon and need to edit the wing material, not the base dragon.
     
    Last edited: Apr 3, 2015
  16. twobob

    twobob

    Joined:
    Jun 28, 2014
    Posts:
    2,058
    gameObject - renderer - materials - list of more than one - there upload_2015-4-3_1-59-8.png
     
  17. SpectralEdge

    SpectralEdge

    Joined:
    Sep 17, 2012
    Posts:
    33
    Yes, I know how to edit materials. But how do I edit it with vertex motion? It always selects the first one.
     
  18. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    Hi,
    VertExmotion is applied on all the materials,
    you have to set a VertExmotion shader on each material.
    If you have an issue with your mesh, please send me a sample : contact@kalagaan.com
     
  19. ikemen_blueD

    ikemen_blueD

    Joined:
    Jan 19, 2013
    Posts:
    341
    any demos on Hairs, Cloth on a real character, not jellyfishes >< ? Anyone tried VertExmotion with Dynamic Bone yet, mind to share some experience :)

    How close can I achieve the "Shroud Cloth Simulation" look, with your VertExmotion?

     
    twobob and hopeful like this.
  20. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    There's other demos on my website,not only the jellyfishes :)

    Shroud is a nice cloth simulator, you won't be able to create the same effect with vertexmotion only.
    I think this kind of FX could be done with bones and VertExmotion, like the hair in the video of Yokogeri.
    I still haven't work on the demo... too much work and obligations :(
    I'll try to find a way to create this FX, maybe with spring joint :)

    You can also try the cloth component
     
  21. ikemen_blueD

    ikemen_blueD

    Joined:
    Jan 19, 2013
    Posts:
    341
    can you make a demo or tutorial to show the best you could do with VertExmotion for Hair, Cloth movements. Unity Cloth component is quite expensive & buggy, from what I know. Shrould is cool, but around $600, currently not support 64-bit Unity 5.

    What I'm looking for are some extra cool movement effects I could add to my Character with very cheap performance cost, Dynamic Bone for example. Your VertExmotion motions, made by shaders, could be affordable also. I wonder how far I could push with your VertExmotion to my Hair, Cloth meshes, no need to to be same as what Shrould did, because that's impossible with Shader animations. Thanks :)
     
  22. Project-Mysh

    Project-Mysh

    Joined:
    Nov 3, 2013
    Posts:
    223
    Hi there ikemen,

    Unity cloth component in unity 5 have been improved a lot. With the new physX engine the performance hit is low (compared to older versions) and there is no buggs (tested on android). Is hard to get the bending result you want, but that doesn't mean "buggy".
    The final results are good and now you can choose what colliders want to interact with it, increasing the performance.

    Simply test it by your own.
     
  23. ikemen_blueD

    ikemen_blueD

    Joined:
    Jan 19, 2013
    Posts:
    341
    Hi Project Mysh,

    That sounds good. I used to have "fun" time with Cloth in unity 4. That's why I thought Cloth in unity 5, not much different. But, from what you said, I definitely will try it soon. Thanks for letting me know :)

    Btw, anyone successfully combines Dynamic Bone, VertExmotion, and Unity 5 Cloth, mind to share some experience. Simulating cloth in unity, is always in "Black Box" something, hard to find info.
     
  24. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    5,676
    ikemen_blueD likes this.
  25. IFL

    IFL

    Joined:
    Apr 13, 2013
    Posts:
    408
    Did you ever get around to working on a demo like this?
     
  26. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    I'm still working on this, I want to find a solution without bones...
    I think I'll add a way to link sensors to a parent one, so you'll have a motion propagation along sensors.

    I did a small break on VertexMotion development, I wanted to learn more about physic base rendering and tools like substance painter.
    Here my first PBR model for free :)
    Hornet rifle
    Now, I'll work on 3D models using VertExmotion :)
    So I'll add more features for my own models.
     
    chelnok, IndieAner3d and IFL like this.
  27. schmosef

    schmosef

    Joined:
    Mar 6, 2012
    Posts:
    852
    Wow, nice update! Lots of great new demos. Much appreciated.

    Gave it a 5 star review.
     
    kalagaan likes this.
  28. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    Thank you :D
     
  29. chelnok

    chelnok

    Joined:
    Jul 2, 2012
    Posts:
    680
    What new do we have? Sorry, but i cant download it and get another distraction, but i'm curious if there is ..well whatever :)
     
  30. schmosef

    schmosef

    Joined:
    Mar 6, 2012
    Posts:
    852
    Oh, in case you weren't aware (I don't think you mention it on the asset store) this asset works just fine with Windows Store and Windows Phone builds.
     
    kalagaan likes this.
  31. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    VertExmotion 1.3.1 available on the assetstore!
    • New : script structure for compatibility BASIC/PRO
    • New : includes squash deformation FX
    • New : includes 3 more demos (time scale, squash FX, characters)
    • Note : Unity 4 compatibility has been dropped.
    assetstore links : BASIC - PRO

    Note : VertExmotion BASIC users have to upgrade their projects (1.2.x->1.3.1) with the tool included.
     
  32. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    Thank you for the feedback, I didn't test on Windows Phone. :)
    VertExmotion also works on Xbox One, I don't mention it on the asset store because I can't test all the platforms.
    There's no platform dependent plugin, so VertExmotion should work on any platform out of the box. :D
     
  33. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
  34. ikemen_blueD

    ikemen_blueD

    Joined:
    Jan 19, 2013
    Posts:
    341
    I owned VertExmotion, and Unity Pro, can I get an upgrade discount on Level 11?
     
    schmosef and punk like this.
  35. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    I didn't do the upgrade yet, because BASIC and PRO were not compatible before 1.3.1.
    I'll do an upgrade on the assetstore, but the price will be higher than the current discount of VertExmotion PRO.
    The PRO Version is cheaper than the BASIC :p
     
  36. strongbox3d

    strongbox3d

    Joined:
    May 8, 2012
    Posts:
    860
    Hello Kalagaan,

    Does this shader works on XBOX ONE?

    Regards,
    Carlos
     
  37. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    Hi Carlos,
    yes it works :)
    I don't have a Xbox One, that's why I didn't mentionned the compatibility in the description.
    I've already did support for a Xbox One project and the error was the shader file encoding.
     
  38. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    I did a new video tutorial
    > here <
     
  39. strongbox3d

    strongbox3d

    Joined:
    May 8, 2012
    Posts:
    860
    Hello Kalagaan,

    So did you fix that error, so I could use it directly in an XBOX ONE project without getting errors anymore?

    Regards,
    Carlos
     
  40. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    I fixed it and I have included the changes in the current version.
    I didn't test on a the XboxOne myself, but if you have any trouble I'll help you :)
     
  41. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    The upgrade BASIC -> PRO is available!
    I've set it to a discount price for the month :D
    Not only for Level 11 ;)
     
  42. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    5,676
    I don't see the upgrade discount (from basic to pro) yet. Maybe it takes some time to move through the system?

    UPDATE: Just thought I'd add that I can see the upgrade pricing now.
     
    Last edited: Sep 6, 2015
  43. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    I've set it in the publisher console on Unity Assetstore.
    There's no admin message or timer, so it should be available soon.
     
  44. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    5,676
    BTW, I haven't tried to add the VertExmotion effect to any ShaderForge shaders yet. Is it pretty easy?
     
  45. schmosef

    schmosef

    Joined:
    Mar 6, 2012
    Posts:
    852
    I see the upgrade pricing is available.

    Are there any differences between the regular and Pro version?

    Or is it just that source code is included with Pro?
     
  46. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    Shaders from Shader Forge are very clean, so it's easy to include VertExmotion inside.

    Here a tuto :
    - Duplicate the shader file
    - Change the shader name in the code : Shader "VertExmotion/originals_shader_name"
    - Add include file in CGPROGRAM
    #include "Assets/VertExmotion/Shaders/VertExmotion.cginc"
    - Add the color in VertexInput structure
    struct VertexInput {
    float4 vertex : POSITION;
    float3 normal : NORMAL;
    float4 tangent : TANGENT;
    float2 texcoord0 : TEXCOORD0;
    float4 color : COLOR;
    };
    - Add this line at the begining of Vertex function :

    VertexOutput vert (VertexInput v) {
    v.vertex = VertExmotion( v.vertex, v.color );
    VertexOutput o;



    I'll work on a automated way for this :)
     
    Last edited: Sep 6, 2015
    hopeful likes this.
  47. kalagaan

    kalagaan

    Joined:
    May 27, 2012
    Posts:
    1,498
    Cool, that was not so long to be available :)
    VertExmotion_versions.png
     
  48. schmosef

    schmosef

    Joined:
    Mar 6, 2012
    Posts:
    852
    Thanks, I'll buy the upgrade later this month when I do my next round of asset store purchases.
     
  49. ikemen_blueD

    ikemen_blueD

    Joined:
    Jan 19, 2013
    Posts:
    341
    Me too, I'm going to buy the Pro soon, thanks for the discount offer :)
     
  50. DigitalAdam

    DigitalAdam

    Joined:
    Jul 18, 2007
    Posts:
    1,202
    @kalagaan

    This looks great. I'm interesting it using Vertex Motion in conjunction with MegaFiers Wrap. Any thoughts on whether yours will work? I want to add some secondary motion to sleeves for example. Thanks.