So if you wanted your actor to move downwards in an "s" movement, you'll need to add velocity with a negative number.
Change Attribute self.Motion.Linear Velocity.Y to -170 ------ as an example value Constrain Attribute self.Position.X to 100*sin(self.Time*200)+340 ---- again with values as examples only
Comments
@jerlant360
Hi, the following equation is courtesy of @firemaplegames for a sine wave back and forth:
halfWaveHeight * sin( timeFactor * oscillationSpeed) + centerOfWave
So if you wanted your actor to move downwards in an "s" movement, you'll need to add velocity with a negative number.
Change Attribute self.Motion.Linear Velocity.Y to -170 ------ as an example value
Constrain Attribute self.Position.X to 100*sin(self.Time*200)+340
---- again with values as examples only
You're welcome. :-)