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"

Smooth transition when enabling use controller rotation yaw

Hello! I want to do that by enabling the "Use Controller Rotation Yaw", instead of snapping the rotation of the character to where the camera is, do it smoothly. I have this, but it does not work... Any idea?

alt text

*This is for aim/crosshair. When i press the button the zoom and crosshair appear, and if i hold the button with the "Use Controller Rotation Yaw" it does good. But the problem is the first time that i click the button. The Rotation Yaw snap the camera instead move it smoothly...

Greetings!

Product Version: UE 4.22
Tags:
smoothrotation.png (119.7 kB)
more ▼

asked Jun 06 '19 at 09:07 AM in Blueprint Scripting

avatar image

ProsiKout
1 1 2

avatar image saeedc Jun 06 '19 at 10:43 AM

you must first set your actor rotation smoothly then check if it is equal to controller rotation if it is equal to control rotation then enable use control rotation yaw

avatar image ProsiKout Jun 06 '19 at 12:30 PM

Thx for the reply. The problem was that I did not have it connected to the event tick. I had it to an input event and didnt work.

And with your check works perfect. Thanks!

alt text

smooth.png (113.7 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
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