How do I make the emitter shoot at a spicific point?
Basically to behave like a look at rotator without using the look at rotator. With Scene Space Direction I can give the emitter a value to shoot in a direction but is it possible to have it shoot a projectile at a tag- or laser scope transform?
-
My guess is that I have to calculate the vector direction between two point? But how? I'm not that good in math.
-
You can calculate the vector between the source and the target, as @Denjo said. You can do this by subtracting the source from the target with a single calculator.
You can get the target tag's scene position from the tag's "scene transform" output. Plug that into a splitter to get translation (scene position), orientation, and scale. You want the translation. -
That worked, thanks.
請登入寫評論。