What's a good way to detect the puppet being idle vs moving? (ex: for an idle animation)
Let's say I wanted to play an animation only while a puppet I've possessed is idle. What I've tried so far, it seems like the idle animation will tend to blend with the procedural walking animation and I haven't found an obvious way to make the distinction between no input and any input on the control stick.
-
you could try wiring the left stick output from the controller sensor to a NOT gate and then tie that to whatever you want to occur when you're idle. I am at work currently, so I am unsure with testing if this will work
-
That's a reasonable suggestion, or you could use a movement sensor.
- Rich -
I had tried those solutions, it sounds like it should work but the problem is that Stick input outputs a value from 0.00 to 3.00. If you hook up a NOT, you'll still get a value between 0.00 and 1.00 to the animation when merely tilting the stick slightly, which will still activate the animation. Luckily, I figured out the Calculator gadget can be useful here by outputting true or false (i.e. 0.00 and 1.00 exclusively) if the stick is tilted any amount more than none.
請登入寫評論。