0
$\begingroup$

How can I make an object's animation only play when that object is moving?
I do not need it to play on mouse press, only when's it's moving.

$\endgroup$
1
$\begingroup$

Well, make a Mouse sensor, and controller and action actuator and connect them together. Set the mouse sensor to what you need(for example, left button with true level triggering) and action actuator to your action! So simple!;)

$\endgroup$
  • $\begingroup$ he does NOT want it to play on mouse press, only when the character is moving. However the question is worded so poorly I can't tell if that is really what he wants. $\endgroup$ – X-27 wants to Reinstate Monica Apr 11 '15 at 15:46
  • $\begingroup$ Well than he can use python to get object's linear velocity and than, activate action if the object's linear velocity is higher than 0! But in that case he need to move object using force or linear velocity! $\endgroup$ – Adrians Netlis Apr 11 '15 at 16:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.