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 can I make a pawn rotate slower/smoother?

I have my controller setup so that I can rotate my pawn left or right exactly 90 degrees. The problem is that is an instant transition, basically flips so fast you don't see the mesh transition. I need to slow it down, because I want to be able to see the mesh rotating. Not sure what node or combination to try.

Product Version: Not Selected
Tags:
more ▼

asked Jun 24 '14 at 07:50 PM in Blueprint Scripting

avatar image

daniel311311
3 4 6 7

avatar image DJMidKnight Jun 24 '14 at 08:00 PM

you could try using a timeline for the transition. but perhaps using a blendspace would work better.

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

1 answer: sort voted first

Hello,

In your Blueprint for your pawn, you will want to go into your Defaults menu and then uncheck "Use Controller Rotation Yaw". Then you can set the "Rotation Rate" to change how quickly your character rotates. This will work for rotation by movement, but could you please show exactly how you are rotating the character? If it is a simple "Set Rotation" you may want to use a timeline to Set Rotation using the Update execution as DJMidKnight suggests. Let me know if this helps.

Cheers!

Alexander

more ▼

answered Jun 24 '14 at 08:38 PM

avatar image daniel311311 Jun 24 '14 at 09:09 PM

Thanks for the response! Ok, so here is how I have made it work. It's actually the roll that I am trying to control. I am super new to blueprints, and coding in general so it may look funny how I went about it, but this is were my experimenting has led me.

[1]: /storage/temp/9065-untitled.jpg

untitled.jpg (372.7 kB)
avatar image Alexander Paschall ♦♦ EPIC Jun 24 '14 at 09:39 PM

I see what you are trying to do now. The A and D events are executing nodes that say "Jump immediately to +/-90 rotation". So you will want to do something with Axis Mapping A and D to +1 and -1 so that it gives a steady change one degree at a time instead of an immediate 90. Start by setting up Axis Mapping for the inputs. Then you can use the Axis Event to update Add Roll Input constantly as long as a button is pressed. Here's an example:

alt text

Let me know if this helps!

-Alexander

axismap.jpg (80.5 kB)
avatar image daniel311311 Jun 25 '14 at 04:10 AM

Thanks! Looks like this should work.

(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