I have a blend space set up with direction changes that reacts to keyboard direction changes and it all works fine except the blend does not interpolate with direction changes.
The reason for this is because I know that the input is a fix value bound to changes in direction and I'm thinking that buy using Finterp I could interpolate the values into the blend space.
Where I'm stalled is to do so I'll have to evaluate that a direction change did occur, which requires comparing a number of values. And it seems a bit messy as you can never really depend on a given state being true or not, IE a change in direction did occur, and the value change will occur from one max direction to another.
The plan in the end is to put all of the direction weighting into the blend space but with all the things that needs to be done for something that seem so simple I can't help but think there is a better way.
Any suggestions would be of help.
Is this a good direction or is there a better alternative?
The reason for this is because I know that the input is a fix value bound to changes in direction and I'm thinking that buy using Finterp I could interpolate the values into the blend space.
Where I'm stalled is to do so I'll have to evaluate that a direction change did occur, which requires comparing a number of values. And it seems a bit messy as you can never really depend on a given state being true or not, IE a change in direction did occur, and the value change will occur from one max direction to another.
The plan in the end is to put all of the direction weighting into the blend space but with all the things that needs to be done for something that seem so simple I can't help but think there is a better way.
Any suggestions would be of help.
Is this a good direction or is there a better alternative?
Comment