Announcement

Collapse
No announcement yet.

Rotate Character on Slope - Works Sort of ...

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Rotate Character on Slope - Works Sort of ...

    This BP works fine in rotating the character when he goes up and down a slope or runs sideways across the slope.

    However if he is running up the slope and you turn the character 180 degrees so he runs down (or vice versa) the character will not be facing up or down but slightly to one side. If I repeat it enough times the character will get to 90 degrees rotated even if he is supposed to run straight ahead.

    Any suggestions, thanks.

    Click image for larger version

Name:	Capture.JPG
Views:	1
Size:	125.2 KB
ID:	1221785
    Attached Files
    Last edited by Yummy-Vegetables; 06-10-2017, 10:07 PM.

    #2
    Typical I post something then almost instantly solve it .... used capsule component not the mesh, I'm thinking it might have been due the idle anim on the mesh having the character slightly angled to one side.

    Comment


      #3
      I came across this thread and gave the blue print above a go; but because I'm working with quadruped characters (wolf, fox, etc) and their origin point of the mesh is not in the middle of the mesh I found the technique above didn't work to well for me, short of doing LOTS of offsets.

      But I did find a much simpler solution from another thread.

      Blueprint pricture here
      https://gyazo.com/66c070d6f6f58d332c2fcaf3c51386a0

      Forum thread is here --> https://forums.unrealengine.com/deve...yer-to-surface

      Comment


        #4
        Thank you for this!

        Comment

        Working...
        X