Announcement

Collapse
No announcement yet.

Dynamic gravity for characters

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

    Originally posted by Xaklse View Post
    Sorry for the big delay Frank.
    A problem with ControlRotation happens to me with the "Run Dedicated Server" checkbox enabled:

    (RGB is XYZ of ControlRotation)

    The rotation is not right after changing between floor angles with big or very small differences.
    This behaviour has changed for the better after upgrading to 4.20, the camera was also borked.

    .

    Could you please elaborate a little more or show us a video?
    any ideas ?

    https://www.youtube.com/watch?v=6ink4WGgbT4
    Last edited by aGeronimo; 11-01-2018, 04:20 AM.

    Comment


      did you use any additional variable in blueprints to change the gravity for the walls? looks like the gravity direction doesn't get replicated

      Comment


        Originally posted by Frank Post View Post
        did you use any additional variable in blueprints to change the gravity for the walls? looks like the gravity direction doesn't get replicated
        this only happens when the surface is dynamic.
        Last edited by aGeronimo; 11-01-2018, 06:22 AM. Reason: if you set the "static" - gravity works fine

        Comment


          How do I use blueprints to make a spherical world?

          Thanks

          Comment


            Xaklse Thanks for making such an awesome plugin! I'm working on a project in 4.19 in order to work with an Unreal branch that exports to UWP. Right now the git repo only seems to have a link to the latest version of the plugin. Is there anywhere I can find a download of the plugin version that worked with 4.19? Thanks!
            Last edited by DrScientific; 01-15-2019, 09:58 PM.

            Comment


              Xaklse Have you or maybe someone else here know a good solution to calculating the character movement direction? I am not positive but it seems using GetActorRotation and GetVelocity are still being calculated in relation to Z axis rather than the gravity direction. I am attaching the relevant bit of my animation blueprint in case I am not explaining things very well. I apologize if this is a really basic question. I am just picking up this project again and am a bit rusty.

              https://blueprintue.com/blueprint/ebz6zpzn/

              Comment


                Originally posted by aGeronimo View Post
                I couldn't reproduce that issue by following the indicated exact steps.


                Originally posted by DrScientific View Post
                Thanks for making such an awesome plugin! I'm working on a project in 4.19 in order to work with an Unreal branch that exports to UWP. Right now the git repo only seems to have a link to the latest version of the plugin. Is there anywhere I can find a download of the plugin version that worked with 4.19? Thanks!
                I added the old link from which you can download the 4.19.2 version.


                Originally posted by Xenomatic View Post
                Have you or maybe someone else here know a good solution to calculating the character movement direction? I am not positive but it seems using GetActorRotation and GetVelocity are still being calculated in relation to Z axis rather than the gravity direction. I am attaching the relevant bit of my animation blueprint in case I am not explaining things very well. I apologize if this is a really basic question. I am just picking up this project again and am a bit rusty.
                https://blueprintue.com/blueprint/ebz6zpzn/
                CalculateDirection is the node that isn't prepared for arbitrary orientations.

                Ninja Character Code Plugin
                Visual Studio snippets for UE4
                ---------- ---------- ---------- ----------
                SonicGDK / Ashura: Dark Reign
                Heaven of Relics / Relic Madness

                Comment


                  I just uploaded a new version with some code changes.

                  Ninja Character plugin for Unreal Engine 4.21.1+ is up! Go to https://github.com/Xaklse/UnrealEngine and grab the ZIP file (not the green button) from one of the mediafire links posted at the top part (if error 404: log in to Github, link your UE4 account to Github).

                  This is for C++-based game projects.
                  Last edited by Xaklse; 01-20-2019, 02:26 PM.
                  Ninja Character Code Plugin
                  Visual Studio snippets for UE4
                  ---------- ---------- ---------- ----------
                  SonicGDK / Ashura: Dark Reign
                  Heaven of Relics / Relic Madness

                  Comment


                    Originally posted by Xaklse View Post

                    I added the old link from which you can download the 4.19.2 version.
                    Thanks Xaklse , you hero! This is gonna help out my project immensely! I identified the breaking changes in the 4.20 update, and was beginning to rewrite them, but this will certainly save us on time and resources! Thanks again!

                    Comment


                      That´s a project of dynamic gravity I am working on:



                      Here is an update:
                      Last edited by CaioFelipe; 03-02-2019, 11:11 AM.

                      Comment


                        Any chance of a reupload? links gone dead

                        Comment


                          Originally posted by CaioFelipe View Post
                          That´s a project of dynamic gravity I am working on:

                          Here is an update:
                          That's nice, best of luck.

                          Originally posted by Petyrpox View Post
                          Any chance of a reupload? links gone dead
                          If you get error 404: log in to Github, and link your UE4 account to Github. Let me know if it works.
                          Ninja Character Code Plugin
                          Visual Studio snippets for UE4
                          ---------- ---------- ---------- ----------
                          SonicGDK / Ashura: Dark Reign
                          Heaven of Relics / Relic Madness

                          Comment


                            Hi guys!
                            I downloaded the plugin, added a sphere mesh to the world and set the gravity point to its location. But I can not walk over the side of the mesh to the bottom of it, I can only walk on the top part. Do I have to change some settings to make it work or that part isnt implemented yet?

                            Comment


                              Did you take a look to my example project with character blueprint?
                              Ninja Character Code Plugin
                              Visual Studio snippets for UE4
                              ---------- ---------- ---------- ----------
                              SonicGDK / Ashura: Dark Reign
                              Heaven of Relics / Relic Madness

                              Comment


                                Originally posted by Xaklse View Post
                                If you get error 404: log in to Github, and link your UE4 account to Github. Let me know if it works.
                                Hi, I'm interesting in your code, I try do something similar without luck. For me, not work your repoditory, 404 error, I can't download. I allready link Github to UE account, but no work. You have erase the content?.

                                Comment

                                Working...
                                X