|
Post by crusenho on Dec 4, 2021 10:17:32 GMT
Hi, I am having a problem with setting up the extension of Pointer Influence. It doesn't do anything or won't activate, the mouse or the gamepad is not working as well, and the camera won't follow the Player even though I have put inside the drop target's field. Is there a proper way on how to set up this extension?
|
|
|
Post by Luís Pedro Fonseca on Dec 4, 2021 10:21:08 GMT
crusenho Can you please test the included PointerInfluence demo scene and see if it works for you?
|
|
|
Post by crusenho on Dec 4, 2021 16:35:02 GMT
crusenho Can you please test the included PointerInfluence demo scene and see if it works for you? I have tried it, it doesn't work. And everything become pink texture, I thought this supported URP? Please can you test it and see where is wrong? could you help guide more? I am using the new input system, is that the reason of the problem? Also, I am using Playmaker and URP in my project.
|
|
|
Post by Luís Pedro Fonseca on Dec 4, 2021 22:34:03 GMT
The pink look just means the shaders that are used for the demo levels were not updated to URP. There's a method to automatically update them, see here: docs.unity3d.com/Packages/com.unity.render-pipelines.universal@7.1/manual/upgrading-your-shaders.htmlThat's purely visual and has no impact in the behaviour of the plugin. As for the reason the pointer is not moving is that I haven't added support for the new input system yet. You can however easily replicate the behaviour on this extension my adding an empty camera target and "manually" moving it through your input code. Let me know if this helped.
|
|
|
Post by crusenho on Dec 5, 2021 16:30:18 GMT
The pink look just means the shaders that are used for the demo levels were not updated to URP. There's a method to automatically update them, see here: docs.unity3d.com/Packages/com.unity.render-pipelines.universal@7.1/manual/upgrading-your-shaders.htmlThat's purely visual and has no impact in the behaviour of the plugin. As for the reason the pointer is not moving is that I haven't added support for the new input system yet. You can however easily replicate the behaviour on this extension my adding an empty camera target and "manually" moving it through your input code. Let me know if this helped. I am sorry I don't quite understand on how to integrated the extension in my input code manually, I am using Playmaker do you know if any chance on how to set it up? I hope it will supported the new input system in the next update.
|
|
|
Post by Luís Pedro Fonseca on Jan 5, 2022 21:48:47 GMT
crusenho Sorry for the late reply. What I mean is that you simply have to create an empty GameObject and add it as the camera target. Then you can move it around with your own code (or Playmaker). Let me know if this helped.
|
|