How to Get Properties to effect object movement.

Maybe this is written some where but I can’t find it. If I want the force, torque, or motion of an object to react to a propety value, how do I do it?

Let’s say I have a sitting cube. Its Speed property is set to 0. Now what if I have it set up so that as I press up arrow, Speed +1 and as I press down arrow Speed -1. How do I get the cube’s motion along the X-axis to corelate to that change in Speed property?

Do I have to use Python or can logic bricks pull it off?


Here, I made a quick example:

wow thanks social

man that is a handy script,

Thanks Social :slight_smile:

Nice, Social
And commented! :slight_smile: