Announcement

Collapse
No announcement yet.

setting up a animgraph for this blend space

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

    setting up a animgraph for this blend space

    hi guys having a little trouble with setting up my animgraph to work for the blendspace.

    here is the blendspace i made form a tutorial. it uses two variables called WalkRight which is the x axis, and walk forward as the y axis.

    Click image for larger version

Name:	nLTCCYe.png
Views:	2
Size:	54.6 KB
ID:	1169340

    i have only ever set up blendspaces that use direction and speed variables.
    so im not sure how to set up my anim graph in order to set the WalkRight and WalkForward variables in order to drive the blendpspace.
    im guessing walkforward is just the same as speed?? so i can just use a get velocity node and plug this in???
    but im not sure how to find the players walkRight

    thanks

    #2
    Inside you Character Blueprint ,in the movement nodes.
    Click image for larger version

Name:	Sem título.png
Views:	1
Size:	64.5 KB
ID:	1097710
    Now you need pass those variables into the AnimBP

    Comment


      #3
      Originally posted by EduHenrique View Post
      Inside you Character Blueprint ,in the movement nodes.
      [ATTACH=CONFIG]71831[/ATTACH]
      Now you need pass those variables into the AnimBP
      and how do i do that? i tried promoting them to variables and then creating the same variables within my anim graph and setting them there but nothing happens

      Comment


        #4
        this is my player controller

        Click image for larger version

Name:	3ZmUXEK.png
Views:	1
Size:	211.4 KB
ID:	1097715


        and my anim graph
        Click image for larger version

Name:	5Oxq4yx.png
Views:	1
Size:	183.1 KB
ID:	1097716

        everything works fine in the preview window yet i get in game and the blendspace doesnt work.

        Comment


          #5
          Inside you Anim Blueprint do a cast to You character, and retrieve the variables you want, now use those variables in Aanim BP.
          Click image for larger version

Name:	Sem título.png
Views:	1
Size:	205.4 KB
ID:	1097728
          Click image for larger version

Name:	Sem título.png
Views:	1
Size:	38.1 KB
ID:	1097726


          Sorry, my engine is in Portuguese.
          Attached Files
          Last edited by EduHenrique; 12-29-2015, 02:38 PM.

          Comment


            #6
            thanks for you're help i solved it .

            Comment

            Working...
            X