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

Not seeing health bar or selection circle #182

Open
sumrex opened this issue Apr 4, 2022 · 4 comments
Open

Not seeing health bar or selection circle #182

sumrex opened this issue Apr 4, 2022 · 4 comments

Comments

@sumrex
Copy link

sumrex commented Apr 4, 2022

I am having an issue where I do not see either health bars or selection circles for my units. I have been referencing both documentation and the example project. The example works fine but my own project does not, I see a health bar for a brief moment on launch and then never again, the selection circle never appears. I am not sure if maybe I missed something but I have cross referenced and theoretically have the exact same setup as the example. The example project is working as expected, I can only assume maybe there is an extra step that isn't in the documentation.

This is in the same version of UE5 (p2) for both my project and the example.

@Mephiztopheles
Copy link

Does your selection circle have a material set?
There is a shipped Circle found in the plugin content. Also make sure, that you have selected the correct player controller which is in charge for the selection.

Also your Inputs could be a problem. Check, if you have copied the inputs from the demo project

@sumrex
Copy link
Author

sumrex commented Apr 13, 2022

I had a material set and everything.

I did eventually figure it out. The draw size of the circle is based on the collision component of the units. Basically after lots of testing, you need to put capsule collision on the unit, which will determine circle size. This cannot be anything other than capsule from the looks of it.

@Mephiztopheles
Copy link

Mephiztopheles commented Apr 14, 2022

As i look into the code, it should work with every ShapeComponent. So Box, Sphere and Capsule should work

@Mephiztopheles
Copy link

Also the Decal only projects on other actors. So if your actor is not on the ground, then you can't see the decal

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

2 participants