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"

Changing static mesh's properties in game

Hi all - I'm quite new to Unreal so bear with me! I'm trying to change a static mesh object's properties in-game. I'm using Polymodels' blinds in my scene, which inherit from a static mesh component. They have an "open-close" variable which controls how far the blinds are open, as a float value from 0-100. I have a user widget next to the blinds with two buttons - what I'd like to have happen is for the blinds to increment up or down while the user is holding the button. I tried setting the "open-close" variable in my blueprint via mouse press, but nothing happens.

Is it possible to alter a static mesh in-game? It is set to movable, although that doesn't seem to make much of a difference. Will I instead have to use matinee animation, and if so, is there a way to do that smoothly to simulation the incrementing up/down movement I'm looking for?

Product Version: UE 4.10
Tags:
more ▼

asked Mar 09 '16 at 03:13 AM in Blueprint Scripting

avatar image

emily_conklin
1 1 1

avatar image emily_conklin Mar 09 '16 at 06:13 AM

Okay - update. I'm attempting to use the float property matinee, which seems like a good bet. In the details panel for the object in question, I can the variable increasing from 1-100 as I play the animation in the matinee editor, but there is no visible change in the object unless I go into the details editor and manually change the number. Thoughts?

(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