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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to roll an object back to its start position

Hi, im working on a Wipeout type game and im having trouble with the Roll action on the ship object. Basically when the player hits the input to move the ship left/right, I can get it to move and roll slightly but the ship stays at that angle after the player has finished pressing the movement input.

What I want is for the ship to roll back to its start position by itself.

I'm quite new to Blueprints so any help, examples or tutorial links would be greatly appreciated!

Product Version: UE 4.9
Tags:
more ▼

asked Sep 18 '15 at 08:34 PM in Blueprint Scripting

avatar image

SamuraiCoop
1 2

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

1 answer: sort voted first

What comes to my mind is saving the initial rotation of the ship in a rotator variable and then interpolating back to it when you stop rolling.

Check this out: RInterp To

Let me know if this helped :)

more ▼

answered Sep 20 '15 at 03:54 PM

avatar image

Lazarus5000
176 6 4 10

(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