Dear all,
I have encountered some difficulties when trying to use the variable command. I want to simulate changing one body’s velocity, e.g. from 1 to 5, and I set up variable as follows:
variable vx loop $5
…
velocity body set v_vx 0 0
…
run 1000
next vx
run 1000
However, there is an error: Substitution for illegal variable. What’s wrong with my usage above?
Many thanks,
Damien
2008-06-19