#How to use the ps4 controller in unity
1 messages · Page 1 of 1 (latest)
Well, wait, what os are you using?
Is your target platform webgl?
Alright, all the docs mention about this is that it has to be on a "universal windows platform" (uwp). I'm not 100% sure what it means by this, but it could be causing the issue
First of all, did you really just take a picture of your screen, and second, are you sure that that section of code ever runs?
I don't think that affects this
Alright, I'll be frank, none of this message makes sense.
Could you throw a log into that if statement just to check if it's running at all?
Yet the controller doesn't rumble at all?
I'm beginning to think this is the xy problem...
Yeah I'm confused as well
What errors occurred in the other lines, are low and high defined?
and does the rest of your project use it?
is it set to default in project settings?
If your project is not set to use the new input system, then this won't work at all.
So you do use the new input system for other things, yes?
Does the light bar have anything to do with the issue?
If not, please stop mentioning it, you're confusing me.
I do not believe that the lightbar has anything to do with the motors not functioning. Rather, I believe there is some sort of OS mismatch, and that is the source of your issues.
please
[]imageofcode
An image of your code is not helpful
When asking a question about a problem with code, people who are volunteering to help need the text of the code. Unless you are asking about your IDE - and not the code itself - images of the code are not an acceptable substitute.
Source: https://idownvotedbecau.se/imageofcode
Please send your code as a codeblock. If you don't know how to send a codeblock, type []cb