Announcement

Collapse
No announcement yet.

VR Expansion Plugin

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

    Originally posted by LiSai View Post
    I can't grab a point of the skeleton. This Can support to grab softbody.
    Yeah someone just mentioned that targeted bones isn't currently in. I should have it fixed next week when I get the chance to get back to working on the plugin.


    Consider supporting me on patreon

    My Open source tools and plugins
    Advanced Sessions Plugin
    VR Expansion Plugin

    Comment


      I like this plugin and hope it gets better and better.

      Comment


        Hi Mordentral and other VR Plugin users,

        I am developing a VR open world action rpg called BearHammer with the plugin and having so much fun doing it, can’t wait to share some updates with the progress.

        I have a few questions if you don’t mind helping .

        1) I have used the teleport mechanic successfully on many other maps by adding a nav mesh, but I downloaded a map from unreal marketplace and can’t get it to work within this map. It’s a particularly giant map, but when I do add a small nav mesh around just a few cubes in place way high up in the sky, the teleport still does not work.

        I have tested creating my own my own smaller landscape and that works just fine, so the only thing I can think is there’s some sort of collision with the teleport beam on this map, but I was wondering if anyone encountered a map where teleport did not work or had general tips for troubleshooting this.

        https://www.unrealengine.com/marketp...dieval-village

        2) I was wondering if there are any optimization concerns of creating one giant nav mesh that includes an entire large open world. I haven’t tried yet out of fear!

        3) I stumbled upon an interesting locomotion option accidentally. If you attach an invisible static mesh around the player pawn they will act as if climbing, so you can fly around the world. I found it’s actually not that nauseating! I’ll post a video when I finally get back to my computer, been trapped with my wife’s family...

        4) For the climbing part of the plugin, are there any options to add a small local change to the material around where the player has successfully gripped, like a shadow or coloured highlight? If not I’d suggest as a feature idea so there’s more visual feedback of grip.

        5) I have a giant rat that throws huge boulders at the player, which can occasionally knock out the players weapon from grip. Is there any negative consequence to setting the grip stiffness super high to counter this?

        6) This is a really dumb basic question, but I haven’t seen the answer elsewhere as I’ve been reading more about VR optimization. For optimization, does the level slow down with the number of unique 3D meshes/materials you add to the whole level even though some might not be visible, or does it slow down just those visible at a given moment?

        Thanks very much for help!

        Comment


          Originally posted by ZeothulBrian View Post
          Hi Mordentral and other VR Plugin users,

          I am developing a VR open world action rpg called BearHammer with the plugin and having so much fun doing it, can’t wait to share some updates with the progress.

          I have a few questions if you don’t mind helping .

          1) I have used the teleport mechanic successfully on many other maps by adding a nav mesh, but I downloaded a map from unreal marketplace and can’t get it to work within this map. It’s a particularly giant map, but when I do add a small nav mesh around just a few cubes in place way high up in the sky, the teleport still does not work.

          I have tested creating my own my own smaller landscape and that works just fine, so the only thing I can think is there’s some sort of collision with the teleport beam on this map, but I was wondering if anyone encountered a map where teleport did not work or had general tips for troubleshooting this.

          Check your navigation bounds to make sure that it is actually covering your map, although there are options for localized generated nav mesh in large maps that can be used instead. (Navigation invokers https://docs.unrealengine.com/latest...gationInvoker/)

          2) I was wondering if there are any optimization concerns of creating one giant nav mesh that includes an entire large open world. I haven’t tried yet out of fear!

          See above

          3) I stumbled upon an interesting locomotion option accidentally. If you attach an invisible static mesh around the player pawn they will act as if climbing, so you can fly around the world. I found it’s actually not that nauseating! I’ll post a video when I finally get back to my computer, been trapped with my wife’s family...

          Its one of the uses of climbing mode, its not actually just for climbing, more of a direct movement mode. It was just primarily designed around climbing.

          4) For the climbing part of the plugin, are there any options to add a small local change to the material around where the player has successfully gripped, like a shadow or coloured highlight? If not I’d suggest as a feature idea so there’s more visual feedback of grip.

          Not really plugin related, that is gameplay related and easy or hard to do depending on what exactly you want.

          5) I have a giant rat that throws huge boulders at the player, which can occasionally knock out the players weapon from grip. Is there any negative consequence to setting the grip stiffness super high to counter this?

          Not really....but why even have them collide in the first place at that point.

          6) This is a really dumb basic question, but I haven’t seen the answer elsewhere as I’ve been reading more about VR optimization. For optimization, does the level slow down with the number of unique 3D meshes/materials you add to the whole level even though some might not be visible, or does it slow down just those visible at a given moment?

          Depends on how well the culling is working at the time.

          Thanks very much for help!
          Requiredcharacterlimitheresoicanpost


          Consider supporting me on patreon

          My Open source tools and plugins
          Advanced Sessions Plugin
          VR Expansion Plugin

          Comment


            Pushed a new commit to the template/plugin


            Template

            Code:
            Added a new gameplay tag "Interactible.UsePerBoneGripping" and new blueprint changes to support it.
            Has to be specifically defined as we have to pass in a different transform with per bone, as well as only tracing
            being able to do it (overlaps do not return hit bones....).
            Plugin

            Code:
            Merged in the upcoming 4.19 movement replication changes.
            It simplifies and speeds up the movement system as well as moves the RPCS into the character itself to save on some bandwidth.
            
            Changed charactermovements default for MaxAcel and BrakingDeaccel to very high values.
            This effectively makes characters use no acceleration and de-acceleration when moving.
            I had this in BP before but it really should be defaulted like this in code so that people making new characters don't leave
            acceleration on with the characters.
            Re-setting these values back to 2048.f engine defaults will restore normal engine operation for them.
            
            Added per bone gripping to the physics grip styles.
            Using these correctly requires passing in the bone name and USING THE BONES WORLD TRANSFORM NOT THE ACTOR/COMPONENTS.
            If you do not pass in a bone name to the gripping function then it won't know what bone to grip at and will just grip it like a
            normal component.
            Also if you don't use the bones world transform then it will not be correctly positioned during gripping.
            
            Per bone gripping is only enabled for physics grips for obvious reasons.
            
            I left in the old hacked method of applying the root bone rotation when a bone name isn't given to keep backwards compatibility.


            Consider supporting me on patreon

            My Open source tools and plugins
            Advanced Sessions Plugin
            VR Expansion Plugin

            Comment


              I'm trying to use a lever, and for the life of me, I'm at a total loss. I set up the lever using the NativeLeverActor as reference with its VRLeverComponent. But for some reason, when I grip the component, i.e. lever, I pull the lever right off of the base. It won't stay attached! Nor does it work.

              Am I missing something simple? Feels that way. All I'm doing is calling the GripMotionController->GripComponent() function on it. Is there something else I should be doing? Something more to the setup that I've missed.

              For what it's worth, my character is based on the AVRSimpleCharacter.

              EDIT: When set to a physics lever, it sorta works, but the lever shakes the whole time and keeps jumping out of its base... And I have no trouble picking up / gripping GrippableStaticMeshActors.
              Last edited by christian_svr; 01-04-2018, 08:22 PM.

              Comment


                Originally posted by christian_svr View Post
                I'm trying to use a lever, and for the life of me, I'm at a total loss. I set up the lever using the NativeLeverActor as reference with its VRLeverComponent. But for some reason, when I grip the component, i.e. lever, I pull the lever right off of the base. It won't stay attached! Nor does it work.

                Am I missing something simple? Feels that way. All I'm doing is calling the GripMotionController->GripComponent() function on it. Is there something else I should be doing? Something more to the setup that I've missed.

                For what it's worth, my character is based on the AVRSimpleCharacter.

                EDIT: When set to a physics lever, it sorta works, but the lever shakes the whole time and keeps jumping out of its base... And I have no trouble picking up / gripping GrippableStaticMeshActors.
                You need to GripByInterface with the interactibles, otherwise late updates will be on which ignore boundries and limits. Well, that or set the late update setting on the grip function to "Never" when gripping a lever.

                Again though, its best to grip by interface with the interactibles as their logic is CustomGrip driven and relies on it.


                Consider supporting me on patreon

                My Open source tools and plugins
                Advanced Sessions Plugin
                VR Expansion Plugin

                Comment


                  Holy cow, it works! Thank you so much for that. I knew it was something simple. See, I was referring to the example project, and I just couldn't find where you were calling these functions. And in the wiki docs, it says "When you wish to pick up an object call the components "GripObject" function". Hence, my confusion.

                  Thanks so much!

                  Comment


                    Originally posted by christian_svr View Post
                    Holy cow, it works! Thank you so much for that. I knew it was something simple. See, I was referring to the example project, and I just couldn't find where you were calling these functions. And in the wiki docs, it says "When you wish to pick up an object call the components "GripObject" function". Hence, my confusion.

                    Thanks so much!
                    Yeah sorry, I should have gone and re-worded that section a bit when the interface became an official part of the plugin.


                    Consider supporting me on patreon

                    My Open source tools and plugins
                    Advanced Sessions Plugin
                    VR Expansion Plugin

                    Comment


                      Still WIP, but I did finally decide to add a gestures module to the plugin



                      Consider supporting me on patreon

                      My Open source tools and plugins
                      Advanced Sessions Plugin
                      VR Expansion Plugin

                      Comment


                        Added another game using the plugin to the list of use cases

                        Bartender VR Simulator


                        Consider supporting me on patreon

                        My Open source tools and plugins
                        Advanced Sessions Plugin
                        VR Expansion Plugin

                        Comment


                          I just start checking both base VR Character, I want co create a new Character for then hack for my desired porpouse and also learn better, I'm between VRCharacter or VRSimpleCharacter base, read in the wiki than simple is lighter for the capsulle resizing over network. But realized than Simple one has VRSceneComponent added, how affects this component at the end to choose better for project?

                          Comment


                            Originally posted by mandango View Post
                            I just start checking both base VR Character, I want co create a new Character for then hack for my desired porpouse and also learn better, I'm between VRCharacter or VRSimpleCharacter base, read in the wiki than simple is lighter for the capsulle resizing over network. But realized than Simple one has VRSceneComponent added, how affects this component at the end to choose better for project?
                            Simple character was made because it is least likely to break due to engine changes, it doesn't touch anywhere near as many base character systems.

                            The VRCharacter is a near total re-write at this point and adds dozens of new features, I suggest using the VRCharacter for people just using the plugin, but for making your own off of it, the Simple may be easier to grasp?

                            Capsule resizing over network is the same cost for either character, it is re-creating the capsule on the physics scene so its a static cost. If the collision shape wasn't a capsule we could just scale the thing in Z to resize but the caps would be warped as is so we have to re-create it.


                            Consider supporting me on patreon

                            My Open source tools and plugins
                            Advanced Sessions Plugin
                            VR Expansion Plugin

                            Comment


                              I'm trying to test out the template but I can't download it from bitbucket. Am I the only one here? it seems to me that the website is quite unstable

                              Comment


                                LuigiRussoMake, I was able to download it twice from two different locations yesterday.

                                Comment

                                Working...
                                X