about creating projectile that have sine/cosine movement type.

hi, i am trying to create a projectile that have a sine/cosine movement. these nodes works but how do i control the speed of Y movement ? currently it’s too slow.


also is there any better way to do it without using event tick ? i couldn’t find any tutorial about this, if anyone know of one share me the links please.
i appreciated all the help.

edit: solved. thank you for all the help. :pray: :pray: :pray:

Add a multiplier before the SIN, should let you control the Y speed.

image

I don’t think you can do this without using Tick.
If your Sine movement is small and fast and pretty much just a funny a visual gimmick, you could rely on WorldPositionOffset in the projectile’s Material graph instead to improve performance.

So offset WorldPos in material is more efficient than actual moving
the mesh? because he has to move the mesh anyway (I mean translate the projectile)

If it’s a small visual gimmick oscillation he doesn’t necessarily have to translate the mesh/collision, it depends on the use case obviously.