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"

Boyancy using world position offset

Hi, I am attempting to pass co-ordinate information to a blueprint class to allow it to bob up and down on water. However, after some searching, I have discovered it not being an easy task. I am currently using World Position offset in my material shader to generate my ocean although I looked about, and attempted "toying with" (I don't do a lot of material work) world displacement. Seen Below

alt text

I can't seem to find any way to get the vector information of any of the vertices. I have attempted the raytracing method but alas, of course, that only returns my mesh's collision information that is not updated in real-time. I am currently handling all this in blueprint as I have no knowledge of C++


Trivially here is my blueprint setup for the "Shark fin" I am attempting to try and create on the surface

alt text


And also the result

alt text


If there is an alternate way of doing this I'm all ears but my end goal is to at least get some sort of Z information passed to my sharkfin blueprint.


Thanks,

Freudian

Product Version: UE 4.19
Tags:
more ▼

asked Jul 03 '18 at 10:34 PM in Blueprint Scripting

avatar image

Freudian
1 1 2 7

(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