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"

Move Static mesh ?

How to make the static mesh move in Y axis -> +10 and after sometime it again move Y axis -> -10 in Loop. alt text

Product Version: UE 4.18
Tags:
ques1.png (9.8 kB)
more ▼

asked Apr 06 '19 at 07:26 PM in Blueprint Scripting

avatar image

VIROH
1 1 3

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

1 answer: sort voted first

you could do it pretty easily with a timeline and or a timer.

for a timeline you can set the timeline to loop then create a curve which corresponds to the pattern you want. in the example below i have a sphere move forward over 1 sec, then pause for 1 sec, then move back over 1 sec, then pause for 1 sec, then repeat on a loop. to handle the moving of the mesh i used a set relative location node, and the location is set based on a lerp vector which will give a location based on the alpha.

for a timer you would just have a timer which calls an event every x seconds. the event would handle the moving of the mesh via whatever means you like such as a timeline or if its a pawn then you could use navigation movement.

alt text alt text

capture.png (115.2 kB)
capture1.png (102.6 kB)
more ▼

answered Apr 06 '19 at 08:05 PM

avatar image

ThompsonN13
10.1k 33 10 25

avatar image VIROH Apr 07 '19 at 08:52 AM

Thank you.

avatar image VIROH Apr 14 '19 at 12:44 PM

ThompsonN13

(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