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"

Is there a rotation curve like the ones for X,Y, and Z curves?

I have used the x y and z curves in the timeline but I want to rotate a mess. Is there a rotation curve like the x y and z curves or is there an action for this. I would like to know because I want to create a normal door that works like the ones on hinges.

Product Version: Not Selected
more ▼

asked Mar 29 '14 at 01:53 PM in Blueprint Scripting

avatar image

1 2 3 3

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

1 answer: sort voted first


Try taking a look at the Content Examples and the Blueprints_Advanced Level. Under section 2.4 there is a great example of a door on hinges Blueprint which uses a Timeline and parts of the following network for handling how the door functions:

alt text

Hope this turns you in the right direction! :)


doorrotation.png (96.2 kB)
more ▼

answered Mar 29 '14 at 02:24 PM

avatar image

DizzyWes ♦♦ STAFF
5k 145 64 206

avatar image crazyjoe567 Mar 29 '14 at 06:30 PM

Much appreciated! :)

avatar image KaiserJohannes May 17 '14 at 07:04 PM

hey there, seem like all i am doing is asking follow up questions :)

This works totally fine, i got the same build up, once you press E the animation plays - the door opens. But I cant seem to figure out how to make my door behave real. by that i mean: Now that it swings open it stays that way, but i want it to close once i press E once more, how do i make the whole thing play over and over and over again... open / close / open / close etc.?

I got the same blueprint as the picture shows (- the direction since i only want it to open one way)

Just to clarify: I dont want the door to automaticly close I want it to close only when the use key is pressed again.

cheers in advance!

avatar image Steve Allison STAFF May 17 '14 at 07:20 PM

Hey KaiserJohannes,

As a starting point, you could look at using a setup that incorporates a FlipFlop node:


The way the FlipFlop node works is that it alternates the A and B outputs each time it is activated, starting with the A output. So the E keypress activates the node and would swap between playing your timeline forward (open door) and reverse (close door).

Hope that helps!


avatar image KaiserJohannes May 17 '14 at 07:29 PM

:/ doesnt seem to work.. as far as i can see it fires correctly setting the swing open in play and play in reverse but the doors location doesnt get updated does it? it still stays open and wont ever change its position again, also if you press the use key/ e twice it jumps to the new location and skips the animation

avatar image Draken_28 Jul 07 '14 at 06:54 PM

I was trying to solve the same thing here and came across the same issues, not sure if you managed to fix it, but I've got a working solution for anyone trying to find it.

Essentially, you need to use the Flip Flop to set the Open Direction variable (i.e. either on or off... don't forget to tick the box in one and leave it unticked in the other). You also need to plug both into the play or play from start (as essentially the timeline always fires in the same direction between 0 and 1, it is the Open Direction variable that determines which way it goes, not the timeline).

The other thing to note is that your close position will probably need to be set to 0 in the select float as that is the starting position (not -90 like in the first picture shows as that would be 90 degrees in the opposite direction to your starting position).

alt text

(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