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"

Turn in place using blueprint?

is it possible to create a blueprint that allows the character to turn in place?

if so could someone possibly help me work out were to begin?~

Thanks in advance :)

Product Version: Not Selected
more ▼

asked Mar 21 '14 at 12:00 PM in Blueprint Scripting

avatar image

1 1 2 2

avatar image DizzyWes ♦♦ STAFF Mar 21 '14 at 04:10 PM

Hi there!

Would be happy to help, by character are you referring to the player character or an NPC?

What exactly are you looking to accomplish?


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

1 answer: sort voted first

Add to Local Rotation

You can use this node to add incremental changes in direction to the character!

A great place to do this would be in your player controller class,

as you can then track input keys better as to when the user is pressing the keys you want.

But this is the core function you will want to use.

Keep in mind that X = Pitch, Y = Yaw, and Z = Roll

alt text


This is an incremental change, you so you will want to keep the numbers small, and use the tick event in combination with input key checks to continuously incrementally rotate the character.

Timer Functions

You could also add a function and run it in a looping fashion, after key is pressed,

and stop the timer function when the key is released.

there's plenty of info on blueprint functions and timers here on udn so you can just search for it.


localrot.jpg (80.5 kB)
more ▼

answered Mar 21 '14 at 04:22 PM

avatar image

10.6k 446 346 1088

avatar image Brojomaan Mar 21 '14 at 11:00 PM

Yep awnsered that nicely, thank you very much! :)


(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