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"

Sharp turns and 180 character rotation


Does anyone know how I can do sharp or 180 turns like in Super Mario 64? In that game, when you tap the opposite direction of the movement he slides slightly as he adjusts to the new direction. Is this possible?

Also, is it possible to have the character turn to the direction tapped on the gamepad in respect to the camera? Like, if I tap "up" then he rotates towards camera's "front".

Thank you for your help!

Product Version: Not Selected
more ▼

asked Oct 20 '15 at 08:58 AM in Blueprint Scripting

avatar image

155 7 9 17

avatar image Enlo Oct 20 '15 at 10:13 AM

Is this a meta question or did you try something out?

avatar image Niktsuki Oct 20 '15 at 10:28 AM

Regarding the first, I tried adding counter-acceleration but my acceleration ended up being nullfied somewhere, I'm not sure what is going on, theoretically the velocity towards the initial direction should drop significantly and then invert into the new direction, right? I also tried simply adding strong rotation rates to see if the effect would work but obviously all he does is rotate fast and move towards that direction. That was a long shot. I ran out of ideas here.

As for the character directly turning towards a direction, the logic should be simple but I think I'm failing at understanding how to get the yaw on the gamepad (or fake yaw on the keyboard), throw the axis values.

avatar image Lourival Apr 06 '18 at 05:26 PM

Hey, have you had any success in your attempt? I am trying to do the same but I am failing and the tutorials online does not provide enough information....

(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