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"

Collision from Displacement Material

Hi guys,

I'm trying o make a landscape from an Heightmap, the Landscape Tool is not in the Blueprint so I'm trying to do that using the WorldPositionOffset or the Tesselation. It works well to generate the landscape but the collision are still a "plane", I'm walking throught my landscape. Is there a way to collide with my Offset Ground?

Thanks

Product Version: UE 4.10
Tags:
more ▼

asked Jan 08 '16 at 10:42 PM in Using UE4

avatar image

cocobango
3 1 2 4

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

1 answer: sort voted first

No. Tessellation and world position offset happens purely on the GPU. The game physics cannot interact with it. You will need to use the regular landscape tools in UE4 if you want collision to work.

more ▼

answered Jan 09 '16 at 03:21 AM

avatar image

cancel
2.4k 100 71 121

avatar image cocobango Jan 09 '16 at 03:49 AM

Thank you for your answer but I want to generate the heightmap when the game begins, is it possible to move the vertices of a mesh depending on a texture (in Blueprint) ?

avatar image cancel Jan 09 '16 at 04:23 AM

You'll need to generate (or modify) some kind of procedural mesh using the heightmap. I'm not too familiar with the terrain tools, so I don't know if this can be done completely at runtime from Blueprint. I know it's possible from C++, though. It's probably not a good idea to try to do this completely from Blueprint on players' computers, because it would probably be very slow.

(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