I think you can benefit from using a wall object. You can apply a velocity on it using Set Velocity and it will continue moving forever.
Now to make it move in a specific direction, you do need to use a bit of math. The Set Velocity behavior has x and y input fields. What do you plug into those?
Calculate x by using the Sine function. Sine takes in an angle.
Calculate y by using the Cosine function. Cosine takes in an angle.
Here I take an angle (substitute it with whatever angle you want) and plug it into Math Function behaviors.
[image: IMG_9329.png]
[image: IMG_9330.png]
Now I take the outputs of the Math Function behaviors, and multiply them. The bigger the number you multiply with, the faster the object will travel.
[image: IMG_9331.png]
[image: IMG_9332.png]
Finally, plug the results of those behaviors into Set Velocity.
[image: IMG_9333.png]
In conclusion, given an angle and speed you want an object to travel, you can calculate the x and y velocity to apply to a wall object with these equations:
x = Sine(angle) * speed
y = Cosine(angle) * speed