actor going side to side
yasoofx
Member Posts: 332
Does Anyone know how I can make an actor go side to side in a linear way, like a specific place to a specific place
Answers
If position X=100 interpolate to 400 and if position X=400 interpolate to 100.
I always use equals or greater than for the 400 and equals or less than for 100 just incase it misses a beat.
Project attached.
Darren.
Constrain self position X to: 200*cos( game.Time *200)+ 284