Announcement

Collapse
No announcement yet.

[PLUGIN] DynamicNode - Very large animation plugin(Locomotion,Swimm,Flying,Ragdoll,IK,CCDIK,LookAt)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #46
    Thanks for the help! My quadrupeds now IK once again. I also found the function to set the traces which is working nicely, but I have a couple more questions:

    I added DN Animations Stack and DN Move Machine calls to my DNCharacter's tick, but I'm getting an
    Code:
    ensureAlways(Skeleton);
    triggered from
    Code:
    FAnimMultiNodeInstanceProxy_DN::UpdateAnimationNode
    (when it calls
    Code:
    Super::UpdateAnimationNode(DeltaSeconds);
    ).
    ensure has a comment stating "// Skeleton is only available during update/eval. If you're calling this function outside of it, it will return null. " if that helps.
    If I ignore the ensure, everything works, but I'm not sure what I'm doing wrong to trigger it?

    Second thing is I'd like to add this to a whole bunch of quadrupeds and need to make sure it's very performant. Quadrupeds that aren't rendered don't have their animation or movement component updated, so that part is fine, but the character is still updated. Is there a lot of logic that's happening on the character tick? If so, would it be safe to not call DN Move Machine when a quadruped isn't rendered and would that have an effect on performance? Any info you can give me on how it works and how i can optimize it would be much appreciated.

    Cheers!

    Comment


      #47
      Originally posted by a.cartellone View Post
      Thanks for the help! My quadrupeds now IK once again. I also found the function to set the traces which is working nicely, but I have a couple more questions:

      Cheers!
      My plugin uses a dynamic assembly of internal nodes. The problem was that this assembly did not happens at all. It’s actually enough to call just once a function like this

      Click image for larger version  Name:	00AA.png Views:	0 Size:	79.2 KB ID:	1722960


      Regarding the ensure , could you provide me with additional information:
      - show me the whole stack of functions
      - under what conditions is this caused( the very beginning or )
      - how often, always?

      Thanks!
      Last edited by anadre; 02-18-2020, 03:28 PM.

      Comment


        #48
        Thanks again, ensure was only triggered once every time i started the level, my quadruped was spawned dynamically so it could be related to that, but calling DN Play Animation in the BeginPlay fixed it.
        How much logic happens in the character tick and can I disable it when the character isn't rendered? I'd like to spawn as many quadrupeds as possible, so making sure nothing is running when they aren't rendered is very important.
        Last edited by a.cartellone; 02-19-2020, 06:59 AM.

        Comment


          #49
          Originally posted by a.cartellone View Post
          Thanks again, ensure was only triggered once every time i started the level, my quadruped was spawned dynamically so it could be related to that, but calling DN Play Animation in the BeginPlay fixed it.
          How much logic happens in the character tick and can I disable it when the character isn't rendered? I'd like to spawn as many quadrupeds as possible, so making sure nothing is running when they aren't rendered is very important.
          Do you mean the tick function of the DNCharacter?
          There is not a lot of code, but you can turn off any tick of an actor using the function - SetActorTickEnabled - Anytime you want
          Also, if you notice there is an internal optimization, most of the calculation is disabled if the character has been standing in one place for a long time.

          There are also more options:

          UpdateFrameRate (in a future update,I will make it possible to set this parameter at runtime)
          FootPrediction - Disable calculation if legs are far from the ground

          I also want to add support special IK bones(ik_foot_r, ik_foot_l)
          Last edited by anadre; 02-19-2020, 05:41 PM.

          Comment


            #50
            This seems to break when your using Networking and the character goes more then 1 mile from 0,0,0.

            Comment


              #51
              Originally posted by EddieChristian View Post
              This seems to break when your using Networking and the character goes more then 1 mile from 0,0,0.
              Hello!
              Can you provide more information about this?
              By the way, the 23rd version works much more stable than the 24th, I don’t know why, but in the 24th version the replication works very poorly, and if you set the flag - Reliable sometimes do not reach at all, the editor freezes.
              Code:
              UFUNCTION(Reliable, Server)
              Last edited by anadre; 02-26-2020, 09:07 AM.

              Comment


                #52
                Originally posted by anadre View Post

                Hello!
                Can you provide more information about this?
                By the way, the 23rd version works much more stable than the 24th, I don’t know why, but in the 24th version the replication works very poorly, and if you set the flag - Reliable sometimes do not reach at all, the editor freezes.
                Code:
                UFUNCTION(Reliable, Server)
                Well I am new to Unreal coding, Which is why I bought this plugin. I am hoping it makes life a bit easier. I made an island but I noticed when I moved the network spawn and Third person player that uses your code outward to the beach, that it failed when I hit play. The camera appears at 0,0,0 in world space and the player is missing entirely. After this it stays broken. If I move the player and network start back to the center of the world it still fails when I hit Play, and the player disappears with the un-moving camera stuck at 0,0,0

                Comment


                  #53
                  Originally posted by EddieChristian View Post

                  Well I am new to Unreal coding, Which is why I bought this plugin. I am hoping it makes life a bit easier. I made an island but I noticed when I moved the network spawn and Third person player that uses your code outward to the beach, that it failed when I hit play. The camera appears at 0,0,0 in world space and the player is missing entirely. After this it stays broken. If I move the player and network start back to the center of the world it still fails when I hit Play, and the player disappears with the un-moving camera stuck at 0,0,0
                  I tried to do the same with the same thing that you say in the Demo project, I moved the character’s position to the maximum posible distance from 0 point. Everything is good.
                  Could you create an empty project where you create an empty rectangular landscape with this problem and send this project to me? detereny86@gmail.com

                  Click image for larger version  Name:	NET_Start.png Views:	0 Size:	35.5 KB ID:	1726443
                  By the way, the plugin does not in any way redefine the standard replication scheme. All replication in it, it’s just a set of variables from the player or the movementComponent’s (states). These variables are needed to apply just the right animations. That is, if something is not replicated there, the wrong animations will be applied.
                  I had a problem with "realable" functions, as I wrote above. But I solved this problem in the latest version
                  Last edited by anadre; 02-27-2020, 05:52 AM.

                  Comment


                    #54
                    Dose your plugin work with daz skeleton?

                    Comment


                      #55
                      Originally posted by xermao View Post
                      Dose your plugin work with daz skeleton?
                      Hello.

                      4_21, 4_22 - work only if the bones inside the arm without branches
                      those. if you have 2 elbows and one of them is not connected (at least on the one hand), this can create problems

                      4_23, 4_24 - These versions are more stable, work with almost any bones and branches.But, the main condition is that the bones must be connected at least in one line, without gaps (from the palm to the shoulder),

                      Comment


                        #56
                        Hi,
                        a superb plugins. I didn´t dive deep into AnimationBP and state machines, so it was a great help to have this tool.
                        Is there a chance to get a sample how to combine aiming with Walking Animation? The setup how to achieve a correct aiming with other animations is for me not clear.

                        tsky

                        Comment


                          #57
                          Originally posted by tsky View Post
                          Hi,
                          a superb plugins. I didn´t dive deep into AnimationBP and state machines, so it was a great help to have this tool.
                          Is there a chance to get a sample how to combine aiming with Walking Animation? The setup how to achieve a correct aiming with other animations is for me not clear.

                          tsky
                          Hello.

                          In the begin play event, call these functions:
                          In the first, set with which animations to use Aim Offset, the other is responsible for auto-updating the axes of AimOffset

                          Click image for larger version

Name:	00.png
Views:	190
Size:	131.0 KB
ID:	1731010


                          Further, you apply animations from the list anywhere, and they will automatically be connected to Aim Offset with auto calculation

                          Click image for larger version

Name:	00.png
Views:	175
Size:	68.6 KB
ID:	1731011

                          By the way, this example should be in the Demo Project

                          Comment


                            #58
                            Bought the plugin a month ago and decided to really commit to learning it. Its something special, with a ton ton ton of great work put into it. Amazing job. In order to learn, I've been slowly writing my own docs for the plugin. Mostly just documenting the long tutorial video, but also pulling comments out of the C++ classes I could see. Its far from done, but I felt its probably to the point it might help other people.

                            Anyone can view and comment, that said, I think this forum is the best place for questions. We can also transition this all to a wiki or something that's not controlled by me, just easiest for me google docs.
                            https://docs.google.com/document/d/1...it?usp=sharing
                            www.youtube.com/user/destruct007

                            Comment


                              #59
                              How well does this anim system handles networking? Is there a demo of this plugin entire setup on any package of marketplace mocap animation? Any examples showed on free animation pack looks terrible - and Hard it could look anything else if the animations quality is low
                              I tried so many plugins and ik systems and "shortcuts" - and in the end I made my own system, but expanding on it takes time and effort... since Im in lockdown like everyone else I can do my homework and search for solutions that would cut some corners. I see from the video that this plugin does EVERYTHING I wait to do.. Question is only: how well?
                              Does it use in any way the new blend mode "innertialization"? (it gives nice results, but for BP it works only on state machines)

                              Comment


                                #60
                                Originally posted by AngeIV View Post
                                How well does this anim system handles networking? Is there a demo of this plugin entire setup on any package of marketplace mocap animation? Any examples showed on free animation pack looks terrible - and Hard it could look anything else if the animations quality is low
                                I tried so many plugins and ik systems and "shortcuts" - and in the end I made my own system, but expanding on it takes time and effort... since Im in lockdown like everyone else I can do my homework and search for solutions that would cut some corners. I see from the video that this plugin does EVERYTHING I wait to do.. Question is only: how well?
                                Does it use in any way the new blend mode "innertialization"? (it gives nice results, but for BP it works only on state machines)
                                Hello,
                                I am working on adding a network, almost everything works, but there are still a couple of moments.
                                You can write me an email, I will provide you additional video materials
                                detereny86@gmail.com
                                Last edited by anadre; 04-12-2020, 12:59 PM.

                                Comment

                                Working...
                                X