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"

Where are integrated classes from V-HACD?

I want to use V-HACD for my custom concave mesh what is generate in runtime.

I saw a short article for this issue. The UE4 is now using V-HACD! so the UE4 had integrated V-HACD for itself but cannot find where exactly there.

The third party module of HACD is already added at HACD module. but where is UE4's classes from that?

Product Version: Not Selected
Tags:
more ▼

asked May 08 '15 at 08:28 AM in C++ Programming

avatar image

donggas90
36 6 13 16

avatar image Hevedy May 08 '15 at 09:08 AM

The new V-HACD take much time (from 30sec to minutes) to create the collision for one model, i think that wouldn't be a good idea. I have send a request to to have the old system too for simple collisions and fast generation. https://twitter.com/Hevedy/status/582909523146514433

The libs are in: Engine/Source/ThirdParty/VHACD For the UE4 : Engine/Engine/ find for Commands.CreateAutoConvexCollision
FStaticMeshEditor::OnConvexDecomposition()

Sorry i can't help you more :( *Why no use the model as collision better ? or generate a more low poly model for the collision ans use complex as simple from code.

avatar image donggas90 May 08 '15 at 10:24 AM

Good point. The reason is that my mesh is a TERRAIN not just a body mesh.
so I need high accuracy to avoid invalid situation. I considered and tried several method for it but were not satisfied results. so now trying CD and saw that article above what related about this.

BTW, you pointed code is only for editor, isn't it? I need it at runtime. Maybe just adding V-HACD manually is better than sulfing the engine to find them.

avatar image djw Dec 14 '15 at 10:19 PM

Did you ever figure out how to access V-HACD at runtime?

avatar image donggas90 Dec 15 '15 at 12:49 PM

Nope. I had solved this issue to add whole sources to my game module.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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