Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offset #36

Open
TattieBoJangle opened this issue Feb 15, 2024 · 3 comments
Open

Offset #36

TattieBoJangle opened this issue Feb 15, 2024 · 3 comments

Comments

@TattieBoJangle
Copy link

Hi can anyone add a left, right offset please i have tried using paid lock on plugins and they are not that good, this one works perfect but i need to have a left right offset like the way it has up/down for my project to work properly thanks.

@mklabs
Copy link
Owner

mklabs commented Feb 22, 2024

The plugin exposes some events you can listen to whenever you are targetting an actor, and untargetting it. It should be possible to implement your desired offset in Blueprint by leveraging those events.

https://github.com/mklabs/ue4-targetsystemplugin/wiki/Blueprint-Functions-and-Events#events

OnTargetLockOn and OnTargetLockOff

@TattieBoJangle
Copy link
Author

Yeah shame i don't have a clue what to do or i would try it there is one on the marketplace that allows changing the left right offset but it is garbage compared to this.

@vekien
Copy link

vekien commented Mar 21, 2024

Yeah shame i don't have a clue what to do or i would try it there is one on the marketplace that allows changing the left right offset but it is garbage compared to this.

If you had not figured this out, you can add a Scene Component and attach your Spring Arm > Camera to this, then offset that scene component and it'll all work fine. Here is mine:

image

I often increase the LockOnLocation for taller mobs, but I can also do Left/Right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants