Announcement

Collapse
No announcement yet.

Physics Interaction: Doors and Locks

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

    #16
    It looks like none of the blueprints for this pack were nativized. Unless I turned them off. I think I just turned them off to get it to work.

    Comment


      #17
      Could this plugin be used to control a joystick in VR? So like the door handle but on 2 axis instead of 1.

      Comment


        #18
        Originally posted by David Chaseling View Post
        Could this plugin be used to control a joystick in VR? So like the door handle but on 2 axis instead of 1.
        That is a really interesting question . At first I thought it wasn't possible but looks like it is kind of possible but not perfect by any means. I built a demo because I think it is best way to explain why it isn't perfect. You can download it here: https://drive.google.com/open?id=19k...1bdAfKLnv_-JWj

        Few notes: Use left touchpad to move and trigger to grab; Only rotation of hand is used to control "joystick", location doesn't matter; I haven't done any modifications to blueprint to achieve this, except for showing text value. The two meshes are Openable and Lockset blueprints just like door and handle with certain properties; I've only tested it on Vive.

        I hope this answers your question.
        HeadsAndBrains
        MARKETPLACE | YouTube

        Comment


          #19
          Nicat The drawers don't work in VR!!! So a bit more info. When you try to open a drawer in VR it stutters badly and won't come out all the way. My 1st thought was that I must have gone wrong somewhere setting it up for my character so I took another look at your preview video because I remembered that you showed some VR footage in that but you had skipped the part (in VR) where you opened the drawer so then I downloaded the demo from the marketplace page to see how it is meant to work and it was worse and that was in your project demo so it couldn't have been something I had done. It barely opened at all. Nicat I can go to the trouble of uploading a video of this issue happening if I have to but I have a feeling you are aware of this issue so my question is, why is this happening and how can I fix it?

          Comment


            #20
            Could you add suppot for destructibles? I mean... if a door, closet or a lock gets hit and partially destroyed .. having the options to add sound and conditions on the blueprint to slow down the simulation.. having the a door or closet moving clunky and so on.. Or if you can't then point to code snippets that need modifications to achieve that. So I would avoid having to study all your code to do that.

            Comment


              #21
              Originally posted by tcla75 View Post
              Nicat The drawers don't work in VR!!! So a bit more info. When you try to open a drawer in VR it stutters badly and won't come out all the way. My 1st thought was that I must have gone wrong somewhere setting it up for my character so I took another look at your preview video because I remembered that you showed some VR footage in that but you had skipped the part (in VR) where you opened the drawer so then I downloaded the demo from the marketplace page to see how it is meant to work and it was worse and that was in your project demo so it couldn't have been something I had done. It barely opened at all. Nicat I can go to the trouble of uploading a video of this issue happening if I have to but I have a feeling you are aware of this issue so my question is, why is this happening and how can I fix it?
              Hi, in case you missed it I've sent a PM. For some reason my first post is breaking the page and I had set post count to 40, so I couldn't write here. Now I've set it to lower and at least can write.

              Anyway, I checked drawer in demo but didn't have any issues. Maybe you are standing in front of it while opening, which shouldn't create any stutters but would prevent drawer from opening all the way. However, for situations like that I've implemented the ability to set custom "Collision Profile". You just need to create a new collision profile which ignores your character's collision type, then enter the new Profile's name into drawer's Detail Panel -> Static Mesh - advanced -> Collision Profile.
              But if that is not the issue you are having, then I'm really curious what it could be. Please make a video so I can at least see what is going on.

              Also please use the support email(you have to sign in to see the address) since I'm not sure if sharing any pictures or videos would break forum or not. Thanks!
              HeadsAndBrains
              MARKETPLACE | YouTube

              Comment


                #22
                Originally posted by DarkS474 View Post
                Could you add suppot for destructibles? I mean... if a door, closet or a lock gets hit and partially destroyed .. having the options to add sound and conditions on the blueprint to slow down the simulation.. having the a door or closet moving clunky and so on.. Or if you can't then point to code snippets that need modifications to achieve that. So I would avoid having to study all your code to do that.
                I just tried doing but unfortunately it seems impossible to achieve. It was a nice idea though. I'll add it to a private features list in case I stumble upon a way to do it in future. Thanks!
                HeadsAndBrains
                MARKETPLACE | YouTube

                Comment


                  #23
                  Originally posted by Nicat View Post

                  Hi, in case you missed it I've sent a PM. For some reason my first post is breaking the page and I had set post count to 40, so I couldn't write here. Now I've set it to lower and at least can write.

                  Anyway, I checked drawer in demo but didn't have any issues. Maybe you are standing in front of it while opening, which shouldn't create any stutters but would prevent drawer from opening all the way. However, for situations like that I've implemented the ability to set custom "Collision Profile". You just need to create a new collision profile which ignores your character's collision type, then enter the new Profile's name into drawer's Detail Panel -> Static Mesh - advanced -> Collision Profile.
                  But if that is not the issue you are having, then I'm really curious what it could be. Please make a video so I can at least see what is going on.

                  Also please use the support email(you have to sign in to see the address) since I'm not sure if sharing any pictures or videos would break forum or not. Thanks!
                  Hi can you explain a bit more about creating collision profile? I have never heard of this before and when I google the phrase I get no results. When I search without quotes I can't find anything that sounds like what you are describing.
                  Click image for larger version

Name:	collision-profile.PNG
Views:	1
Size:	16.8 KB
ID:	1582472
                  Last edited by tcla75; 02-08-2019, 02:36 PM.

                  Comment


                    #24
                    Originally posted by tcla75 View Post

                    Hi can you explain a bit more about creating collision profile? I have never heard of this before and when I google the phrase I get no results. When I search without quotes I can't find anything that sounds like what you are describing.
                    Click image for larger version

Name:	collision-profile.PNG
Views:	1
Size:	16.8 KB
ID:	1582472
                    Oh sorry about that, the naming is a bit off I guess. Here is a link to official documentation. In that tab click Preset to expand it and double click PhysicsActor to see how it is setup. Then create a new preset with same attributes as PhysicsActor except set Pawn (in case you've modified collision of your character, your character's collision component's Collision Type) to Ignore. Name it whatever you want, then in level select Drawer, in Details Panel -> Static Mesh - advanced -> Collision Profile type the name of newly created preset.
                    HeadsAndBrains
                    MARKETPLACE | YouTube

                    Comment


                      #25
                      Originally posted by Nicat View Post

                      Oh sorry about that, the naming is a bit off I guess. Here is a link to official documentation. In that tab click Preset to expand it and double click PhysicsActor to see how it is setup. Then create a new preset with same attributes as PhysicsActor except set Pawn (in case you've modified collision of your character, your character's collision component's Collision Type) to Ignore. Name it whatever you want, then in level select Drawer, in Details Panel -> Static Mesh - advanced -> Collision Profile type the name of newly created preset.
                      Yep that fixed it. Sorry for jumping the gun there. Though that didn't explain why I was having a similar issue on the demo I downloaded from your marketplace page. I figured out what happened there. When I opened your demo I still had the editor open and I think steam VR was still set to that so when I tried to play your demo in VR it had those weird issues. In fairness, I should have followed the golden rule on this one. If no one else has complained about the issue and you are the only one experiencing it then very likely the issue is with something you are doing lol


                      Comment


                        #26
                        Originally posted by tcla75 View Post
                        Yep that fixed it. Sorry for jumping the gun there. Though that didn't explain why I was having a similar issue on the demo I downloaded from your marketplace page. I figured out what happened there. When I opened your demo I still had the editor open and I think steam VR was still set to that so when I tried to play your demo in VR it had those weird issues. In fairness, I should have followed the golden rule on this one. If no one else has complained about the issue and you are the only one experiencing it then very likely the issue is with something you are doing lol

                        Glad it worked in the end! But that stutter got me really curious because I've never experienced something like while making+testing.
                        Don't worry about it, you might actually be the first one to find the problem due to a very specific circumstance or it's just UE4 throwing a tantrum, haha.
                        Have a great one!
                        HeadsAndBrains
                        MARKETPLACE | YouTube

                        Comment


                          #27
                          Spring Sale - 30% OFF
                          Marketplace link: https://www.unrealengine.com/marketp...hests-and-more
                          HeadsAndBrains
                          MARKETPLACE | YouTube

                          Comment

                          Working...
                          X