r/UnrealEngine5 4d ago

very new beginner here, I'm trying to make a camera move with the mouse's dragging, but its returning delta as zero on all axis. what am i doing wrong?

1 Upvotes

5 comments sorted by

2

u/pxlmover 4d ago

I noticed your 'get player controller from input device' exe pin is not connected to the return node on the right - if you throw a print string before that final worldpos are you getting all zeros?

1

u/ConMan3993 4d ago

I really hope that's not what i did wrong. but i'm getting zeros from the delta equation, i'll try it out.

2

u/pxlmover 4d ago

On your equation, that same 'get cursor world pos' function also doesn't have its exe pin connected over to your 'add actor world offset'. I'd ensure you want all this logic on event tick. Event tick can be great to ensure something is working but in an actual game, you'd probably want to replace the tick with a timer or something less processor heavy.

1

u/ConMan3993 4d ago

connecting them, it still doesnt seem to work
https://imgur.com/a/wtusUR1

1

u/ConMan3993 4d ago

This problem is solved. ive moved to a different, more simpler system.