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"

How do I make an object move up and down using Blueprint?

I have been trying to figure this out for a week now.

Product Version: Not Selected
Tags:
more ▼

asked Jul 03 '15 at 04:47 AM in Blueprint Scripting

avatar image

PixelComplex
6 2 3 4

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

3 answers: sort voted first

Hi,

AddWorldOffset or AddLocalOffset and there is the same for rotation. alt text

FYI : Z is UP

rXp

more ▼

answered Jul 03 '15 at 06:21 AM

avatar image

rXp
311 22 16 39

avatar image PixelComplex Jul 19 '15 at 06:02 PM

Is there a way to make the object move up and down automatically as level begins?

avatar image rXp Jul 19 '15 at 06:07 PM

Yes in custom blueprint for the object you can set that in event tick. Or in the level blueprint make it move in the event tick or with a looping timer :)

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

Do you already try to use Timeline ? It´s quite usefull, and easy to implement direct in your BP :

Example

more ▼

answered Aug 20 '15 at 04:45 PM

avatar image

buscas31
192 28 26 39

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

well iam too stupid to understand it. When i set some Z values it rotates or goes up but there is no loop in up and down. sorry, to bother you.

more ▼

answered Mar 31 '18 at 06:29 PM

avatar image

Max2066
10 1 4

avatar image ThompsonN13 Mar 31 '18 at 07:05 PM

using a set node is a one time thing if you want it to loop then you need to add more script to make that happen. for example you could use a timeline and update the set node many times over a given period. or you could set offset on tick which would update the location every frame. then you would need to create some logic if you wanted it to change directions such as comparing the location to a predetermined location or limiting the number of time that the set location can be done before you change the delta to a negative or just running the timeline in reverse once its completed.

avatar image Nebula Games Inc Mar 31 '18 at 11:53 PM

You could also make a simple matinee with an event track if this is something that persists in the level from the beginning.

(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