Announcement

Collapse
No announcement yet.

Questions about Apex PhysX

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

    Questions about Apex PhysX

    Hello, I have made a destructable mesh in PhysX Lab, it works fine in ue4.

    The Questions:
    1: How do I know its running Gpu Accelerated Physx and not on the cpu, or do I need to compile a build to make it run on the gpu?(its running slow)
    2: How do I make it not disappear when destroying other destructables .
    3: How do I make it so it only destroys where i shoot it with a gun (like this YouTube video ) Fixed


    My Pc Specs (so you know it's not my pc that is bad)
    CPU: I7 3930K
    GPU: GTX 780
    RAM: 16GB 1600Mhz
    C drive(where ue4 is installed): samsung evo 120GB SSD
    Last edited by BallisticDK; 04-03-2014, 04:21 PM.

    #2
    Originally posted by BallisticDK View Post
    Hello, I have made a destructable mesh in PhysX Lab, it works fine in ue4.

    The Questions:
    1: How do I know its running Gpu Accelerated Physx and not on the cpu, or do I need to compile a build to make it run on the gpu?(its running slow)
    2: How do I make it not disappear when destroying other destructables .
    3: How do I make it so it only destroys where i shoot it with a gun (like this YouTube video ) Fixed
    Okay, i fixed number 3, i just needed to set
    Support Depth :2 (because i have 2 depth layers).
    Damage Threshold :20.
    Damage Spread :1.

    Now i just have two more problems.

    Problems:
    4: When i shoot my destructable its like it gets alot of force applyed so it flys away, (sim physx is disabled)
    5: when i shoot it the debris flys like there have been an explosion


    Last edited by BallisticDK; 04-03-2014, 04:26 PM.

    Comment


      #3
      Hi

      I saw your thread and how you dealt with breaking only selected parts of the mesh. Could you please tell me, cause I can't find it anywhere - how do you define more than 1 depth of the destructible mesh?
      The import button or the 'fracture mesh' button only allow to define the first depth level.

      Thanks,
      Paksas

      Comment


        #4
        Originally posted by BallisticDK View Post
        1: How do I know its running Gpu Accelerated Physx and not on the cpu, or do I need to compile a build to make it run on the gpu?(its running slow)
        We do not currently support GPU acceleration for destruction.
        Lead Programmer - UE4 Animation/Physics/Audio Team - Epic Games
        Twitter: @EpicJamesG

        Comment


          #5
          Originally posted by Piotr Trochim View Post
          Hi

          I saw your thread and how you dealt with breaking only selected parts of the mesh. Could you please tell me, cause I can't find it anywhere - how do you define more than 1 depth of the destructible mesh?
          The import button or the 'fracture mesh' button only allow to define the first depth level.

          Thanks,
          Paksas
          when you have imported the destructible you choose it in the asset browser, press CTRL+E and then its in that menu, i cant say wer it is becuase im currently not home. ill try to make a quick tutorial when i get home
          Last edited by BallisticDK; 04-10-2014, 03:18 AM.

          Comment


            #6
            Originally posted by JamesG View Post
            We do not currently support GPU acceleration for destruction.
            okay, but are you gonna support it at some time. ?

            Comment


              #7
              We are still in discussions with NVIDIA about how to support GPU features in a cross-platform way. APEX Destruction itself doesn't actually have GPU support, but could potentially spawn 'GPU rigid bodies' for the very small pieces.
              Lead Programmer - UE4 Animation/Physics/Audio Team - Epic Games
              Twitter: @EpicJamesG

              Comment


                #8
                Originally posted by JamesG View Post
                We are still in discussions with NVIDIA about how to support GPU features in a cross-platform way. APEX Destruction itself doesn't actually have GPU support, but could potentially spawn 'GPU rigid bodies' for the very small pieces.
                that would be really nice, its running i bit slow right now, hehe, Thanks for clearing this

                Comment


                  #9
                  Originally posted by JamesG View Post
                  We are still in discussions with NVIDIA about how to support GPU features in a cross-platform way. APEX Destruction itself doesn't actually have GPU support, but could potentially spawn 'GPU rigid bodies' for the very small pieces.
                  Hey James,quick question.
                  Say I have a PhysX scene with joints and other stuff,what happens if I export this to mobile ? How UE4 deals with cross platform PhysX or is it possible?

                  Comment


                    #10
                    Originally posted by arkenthera View Post
                    Say I have a PhysX scene with joints and other stuff,what happens if I export this to mobile ? How UE4 deals with cross platform PhysX or is it possible?
                    PhysX works just fine on mobile, we just don't support APEX (that is Clothing and Destruction) on mobile at the moment.
                    Lead Programmer - UE4 Animation/Physics/Audio Team - Epic Games
                    Twitter: @EpicJamesG

                    Comment


                      #11
                      Originally posted by JamesG View Post
                      PhysX works just fine on mobile, we just don't support APEX (that is Clothing and Destruction) on mobile at the moment.
                      Is destruction on mobile planned anytime soon? I am making a 'Smash Hit' style game and just found out that although everything works perfectly in the mobile preview on my desktop, transferring it to an actual Kindle Fire HDX is disappointing. Tegra K1 can't come soon enough lol

                      Edit: I guess this has already been answered. (still wishing for soon)
                      Last edited by RyanGadz; 04-15-2014, 12:41 PM.
                      Crystal Flux a Snowboarding Shooter:https://twitter.com/GadzGamz
                      Pinball Template:http://www.pinterest.com/gadzgamz/pinball-template/
                      Hot Springs Air Hockey: Hot Springs
                      Latest release: Bonsai Golf Coral

                      Comment


                        #12
                        We may do, I'm afraid we haven't had a chance to try it yet and see if we run into any problems.
                        Lead Programmer - UE4 Animation/Physics/Audio Team - Epic Games
                        Twitter: @EpicJamesG

                        Comment


                          #13
                          Hi BallisticDK. Congratulations for your job.

                          1- Can you show us how were your BP?

                          2- How did you learn to work with APEX in EU4?

                          Comment


                            #14
                            How you did it ?

                            Originally posted by BallisticDK View Post
                            when you have imported the destructible you choose it in the asset browser, press CTRL+E and then its in that menu, i cant say wer it is becuase im currently not home. ill try to make a quick tutorial when i get home
                            Hello Ballistic, Can you plz tell us how you did it? or plz if you have the tutorial you said it would be perfect, thank you!

                            Comment


                              #15
                              Hi Aeau,

                              I'm not sure what you're trying to achieve or what kind of tutorial you're wanting exactly.

                              If you're making a destructible mesh in UE4 you can only have 1 destruction depth. For example, Depth 0 is not destroyed and Depth 1 is destroyed

                              If you want to make more than one depth layer you will need to use Nvidias PhysX Labs that can downloaded from their site. They also have tutorials that walk you through using their software to setup some cool destruction meshes! Tutorial can be found here.

                              If you have any questions feel free to ask.

                              Tim
                              Tim Hobson | Learning Resources | Epic Games
                              UE4 Documentation

                              Comment

                              Working...
                              X