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"

Painted Grass to follow Cubes rotation?

Hello, i have made a rotating cube static mesh with a class blueprint. I wanted to add my grass static meshes with the paint tool, however it wouldn't let me paint them onto a movable mesh, so i would make the mesh static and then paint the grass and switch it back to movable. However now when i play my game, the cube rotates, but the grass doesnt follow the cube. Heres an example of what i mean.


I have tried with a different static meshed just placed (not painted) and made the cube its parent, both meshes rotated however was very off and inaccurate rotation.

I wanted to know if this is possible? that i can have painted grass follow the meshes rotation?

Thanks alot.

Product Version: Not Selected
more ▼

asked Jul 14 '14 at 04:57 PM in Using UE4

avatar image

82 13 19 17

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

1 answer: sort voted first

Hi Lawrie,

The foliage tool does not have movable objects. This is why it would not let you paint on the movable object. Even with the workaround to paint on it, as soon as you changed the box from static back to movable it detached the foliage from your box.

You can place the grass meshes on your box manually and list them as movable to achieve this action though.

Let me know if you have any other questions. :)


more ▼

answered Jul 14 '14 at 09:59 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 878

avatar image Lawrie Jul 15 '14 at 03:46 AM

Thanks for your response.

I do wonder, would anyone know at all if the ability to have movable foliage that was painted and not dragged and dropped might be a possibility in the future? that is if it is even a possible thing to do in the first place?. If not, then might you know of a way i could do this? could i do the process all in UE4 or would i have to make it in an external program?

Thanks alot for you help.

avatar image Tim Hobson ♦♦ STAFF Jul 15 '14 at 09:52 PM

This is something that may be added in the future, if it's possible. This is probably a result of how foliage is handled within the editor.

You can however, use a couple of different ways to get the same result.

The easiest way, since you have your cube set up in a blueprint anyway, is to add the single grass mesh to your BP and copy and past it a few times. Make a cluster then copy and paste that cluster a few times to move multiple around to cover your cube face. With this parented by the cube it'll take on the properties and rotate with it. You can see from my image below how I set this up.

alt text

Alternatively you could use the technique we used in the Blueprints Office example from Marketplace and use that for your cubes face for randomization of the grass. The BP layout is included in this document.

Let me know if you're still having trouble and I'll help you further. :)


(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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