World Position Offset - Arc/Parabola Movement

My math skills aren’t the great so I was wondering if anyone has a calculation to get an object to move in an Arc/Parabola using “World Position Offset”

This calculates a parabola

image

I don’t really understand how you’re trying to apply it.

Not exactly what I meant, I want an object to move (using a shader) in an arc back and forth (like it’s animated).

Then you would have to calculate the parabola in a custom HLSL node.

( I take that back, you could also do it using that node above, and pass it in with a collection parameter ).

Be aware that as far as most of the engine is concerned, the object isn’t moving.

Yes I know the object will not actually move, the thing is I want the calculation to be done on the GPU rather than the CPU. Also my object does not have collision so it’s not a problem for me. Bummer that I have to use HLSL but I guess I can try to get some help from ChatGPT with that. Anyways thanks for the help.

1 Like

You probably also calculate using the default material math nodes.

Yes, that was my original plan. But as stated in the post, my math skills aren’t that great so that’s why I came here to get some help with that.

1 Like

Ok, back to square 1 :slight_smile:

I think most people on here wouldn’t try and do it that way.

You’ll have to wait for someone to come along whose interested in the academic nature of the problem, I guess.

1 Like

Oh well it’s still worth a try, chatGPT failed with the math problem so I try my luck here :sweat_smile:
Worst case scenario I guess creating a particle system is also an option.

1 Like