mcjElasticSim - much awaited script for verlet based dynamics ( bounces )

2»

Comments

  • This is great work. Thank you very much!!! Happy Holidays

  • mCasualmCasual Posts: 4,607
    edited December 2019
    1gecko said:

    Fantastic!

    Will wait to work with it I think though... my frustration level/patience is extremely *low* between the holidays and several other issues!

     

    Does be the question: will you be porting this to Gen 8?  (not specifying 'Gen 8F' since... well, MOOBS - and therefore would definitely apply to George!)

     

    Oh, and - I hesitate to mention since it seems like "Well, now that you have given us the moon, how about the stars too" sort of question, but how difficult/impossible would it be to appy this to *hair*?  (so our more people not longer have 'helmet head')?  ... course, if you can do that - you *really* should sell it ;) just saying'.  

     

    if you create a D-Form for the hair piece, you can get dangling tresses

    the pink and blue balls have a dForm that push and pulls them

     

    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited December 2019

    Demonstration:

    at frame 0

    playrange : frames 0 to 60 included

    create sphere 10cm diam - we will call it the leadBall

    Ytranslate ball = 170cm

    use mcjCycleFilter to apply a triangular animation curve to the sphere's xTranslate -100 to 100 phase = 90

    so the lead ball moves side to side with abrupt changes of direction

    create a 100cm cylinder and another sphere, parent them to the lead-ball

    we call this sphere the dangleBall

    create a dForm that can pull the dangleBall and the end of the cylinder/rope

    i selected the leadBall

    i ran the script

    my lead ball moves sideways ( x axis )

    i want the sim to be suspended 100cm below the leadBall and to swing sideways

    this explains why xPos, yPos, zPos = [ 0, -100, 0 ]

    zmin,zmax = 0 because i want the ball to stay in the XY plane

    ymin,ymax = -100 because i dont want a vertical motion

    initially vMax was 10, and stiff was 10

    the only force is gravity so we have yAcc = -980, xAcc = 0 and zAcc = 0

    note that each time you change one of those parameters, you need to click the "Modify" button to transfer those new parameters to the simulation device

    then i pressed the "Run Simulation" button

    i closed the script

    since the sim node didnt swing much

    i ran the script again and increased vMax to 100 ( maximum speed )

    and i decreased the stiffness from 10 to 1

    i clicked the "Modify button" to transfer the new settings to the simulator

     i pressed the "Run Simulation" button

    i exited the script

    i parented the dForm handle to the "sim" node and zeroed it's translations and cleared any animation of the dForm handle

    so now the dForm handle follows the Sim node

    and the dForm pulls and pushes the dangler ball and its rope-end

     

     

     

     

    This tutoriel can also be found here

    https://sites.google.com/site/mcasualsdazscripts9/tutorielsimplemcjelasticsimdangler

    so you could download it or even convert it to PDF using i forgot what ... this for example https://webpagetopdf.com/

     

     

    pj1.jpg
    964 x 596 - 171K
    jj2.jpg
    812 x 680 - 82K
    jj3.jpg
    734 x 496 - 101K
    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607
    edited December 2019

    admins can delete this post

    Post edited by mCasual on
  • mCasualmCasual Posts: 4,607

    Koolapz said:

    Just for information, this plugin still work well on Daz 4.12 pro (and that's pretty cool !)

    I just have a little bug when I use the button "load from" in simulator, all the informations in the txt file are pasted on the first input (the simulator name) and not input by input.

    ok i repaired the load function

    2019 December 16th 03:53 PM - repaired the Load function

    note that this function only fills the form 

    then you have to press the "modify" button to transfer those values to the simulator

  • SixDsSixDs Posts: 2,384

    Wow, no wonder your girls are in such good shape, Jacques. Makes me tired just watching them. smiley

  • I missed seeing this one,

    spring bones like iClone and UE4 for DAZ studio,

    I might use this a lot the few times I render in DS yes

  • 1gecko1gecko Posts: 309

    Awesome!  Thank you again!

  • mCasual said:

    Koolapz said:

    Just for information, this plugin still work well on Daz 4.12 pro (and that's pretty cool !)

    I just have a little bug when I use the button "load from" in simulator, all the informations in the txt file are pasted on the first input (the simulator name) and not input by input.

    ok i repaired the load function

    2019 December 16th 03:53 PM - repaired the Load function

    note that this function only fills the form 

    then you have to press the "modify" button to transfer those values to the simulator

    Many thanks ! Honestly without those kind of scripts, it would be far more complexe to obtain a decent animation so thank you for all your hard work mCasual.
Sign In or Register to comment.