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 Character Movement without NavMesh

I'm currently trying to develop my own little flavor of pathfinding system, different from the normal RecastNav stuff embedded into the UNavMovementComponent and all that jazz. I've been perusing thru all the functions in UCharacterMovementComponent to try and re-use all the variables for Speed, Rotation, etc., but without using the navmesh features. I've played around with RequestDirectMove() and MoveSmooth(), which all move my character just fine, but I don't get the same smooth rotation I would get when moving a character with the "Simple Move To Location" function that uses the NavMesh.

I was wondering what all I would have to call in order to make use of the built-in functionality for controlling movement with the CharacterMovementComponent, with just simply passing in a movement vector (i guess analogous to MoveVelocity in some of the functions I've seen) to simply give a direction to go. Am I going to have to resort to also passing the DeltaSeconds into my function and calling some rotation functions separately? (of which I don't know the specific ones to call yet)


Product Version: Not Selected
more ▼

asked Nov 08 '14 at 01:31 AM in C++ Programming

avatar image

31 5 8 16

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

1 answer: sort voted first


You can use RInterpTo to get gradually rotate the Actor to the chosen rotation

     7 (interp speed)



more ▼

answered Nov 08 '14 at 12:04 PM

avatar image

10.6k 446 346 1088

(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