x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Importing mesh from PhysX Lab to UE4

Hi,

Can some tell me just how to import destructible mesh from PhysX Lab and set everything so it is destructible by default First Person Tenplate projecticle? I've fractured mesh in PhysX Lab, only need to know how to import and set

Product Version: Not Selected
Tags:
more ▼

asked Mar 29 '15 at 01:36 PM in Using UE4

avatar image

01zabil01
6 2 4 6

avatar image 01zabil01 Mar 30 '15 at 02:30 PM

Guys, we dont have on forum anyone who know how to set mesh impprted from physx lab?

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi 01zabil01,

Here's the import/export process pipeline that I use: - Create 3D Mesh you want to use for Destructible in your modeling application - Export the Mesh as an FBX (or other format supported by PhysX Lab) - Import your mesh you want to create a Destructible with into PhysX Lab - Setup the DM the way you like in PhysX Lab - File > Export asset > and save as APB (should be this by default) - Open UE4 - Select Import > Navigate to your APB file

These are the steps to get your asset into UE4. It's pretty straight forward with no gimmicks. set everything so it is destructible by default First Person Tenplate projecticle?

This next step requires a little more setup though.

While the settings do carry over from PhysXLab for your mesh this does not automatically set it up so that it generates collision hits with some objects. This all has to be setup in UE4.

Using the First Person Template you'll want to open your blueprint for "FirstPersonProjectile." This will be the yellow ball that shoots from the gun. In the components panel select the "Sphere" Mesh. In the details panel on the right select the Collision Presets where it says "No Collision" and change this to "Custom." Leave everything as it was except change the check box next to "Destructible" from Block to Overlap.

You can save and close this now.

Next you'll want to select your Destructible in your level and in the details panel select the collision presets. It should be set to "Destructible" by default. Change this to "Custom" and in the check box next to "Projectile" change it from Block to Overlap.

This last step will need to be done for any destructible you want the yellow ball projectile to damage on impact.

An alternative would be to use a line trace weapon that doesn't require a projectile mesh like this and it can just apply damage when it hits an object.

You can see an example I've previously setup here in this sample project: https://forums.unrealengine.com/showthread.php?56777-TUTORIALS-Photons-Be-Free-Mini-tutorials-and-other-curiosities&p=208213&viewfull=1#post208213

I hope this helps.

Tim

more ▼

answered Apr 07 '15 at 03:21 PM

avatar image

Tim Hobson ♦♦ STAFF
49k 886 98 874

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question