|
Post by sjmtech on Apr 15, 2018 12:43:45 GMT
(Update 15/04/2018) - minor improvements camera swap - added OnSwapEvent (UnityEvent) camera swap
|
|
dav
Full vMember
Posts: 56
|
Post by dav on Apr 17, 2018 11:07:04 GMT
Hi, I have just installed the add-on but it doesn't work with rewired (I have changed all the inputs on all the files that are needed on the investor scripts and in third person my character works fine) Although I have tried to change your code on the getaxis where are shown around 6 times on the code, I don't understand really good how to change them, as they are not the typical inputs. To clarify, my character moves and get all the actions ok, but I can't rotate the camera (right stick or mouse).
Any ideas?
Do you get the X and Y rotation also again on your code or do you use the one from Invector? I'm using last version on everything( your code and last version form melle - shooter)
Thanks
|
|
|
Post by sjmtech on Apr 17, 2018 14:56:47 GMT
hy dav, this add-on uses default inVector inputs. I don't know nothing about rewire and its integration . I'm using vInput.rotateCameraXInput.GetAxis() and vInput.rotateCameraYInput.GetAxis() for x and y mouse position.
|
|
lhide
Junior vMember
Posts: 25
|
Post by lhide on May 8, 2018 5:55:21 GMT
Hi, i'm having a performance issue, when i change to first person the framerate drops from 120 to 15. This only happens in first person view. I'm using unity 2017.3 and this happens in the demo scenes as well as in my custom scene. Do you know what does that?
|
|
|
Post by sjmtech on May 8, 2018 6:38:18 GMT
mmm ... too drastic slowdown ... I never saw something like that. - Can you record a video or some screenshoots of your editor? - Did you test in a empty project with only Invector Template and Fpc-addon? - Which scene did you test?
|
|
|
Post by sjmtech on May 8, 2018 7:05:51 GMT
(Update 08/05/2018) - Fixed extracams bug in not shooter scenes.
|
|
|
Post by coldice on May 19, 2018 14:05:22 GMT
Hi, first post here. I would like to thank sjmtech for this great addon.
Now my problem: if i add a ragdoll to my character and switch to fps view the character is moving forward without touching the keyboard. If i go to tps view all is fine. what could be wrong ? Thank`s
|
|
|
Post by sjmtech on May 19, 2018 15:17:43 GMT
Hey coldice, did you check the included demo scenes? All of them have the preconfigured player with ragdoll system without issues. Check them to see what is not working in your setup. Let me know.
|
|
|
Post by coldice on May 20, 2018 4:08:55 GMT
Found it, missed the Shooter Lock-On Script. Work`s fine now. Thank you.
|
|
|
Post by sjmtech on May 20, 2018 6:53:46 GMT
Glad you solved!
|
|
|
Post by coldice on May 26, 2018 12:51:44 GMT
Can`t see the little playmode debug window anymore for locking the camera. Should i setup the equip points before adding the fps camera ?
|
|
|
Post by sjmtech on May 26, 2018 13:16:29 GMT
Sorry... i don't understanding your issue. Remember that FPCamera-Addon is a Invector Third camera replacement to change the point of view. Camera lock have nothing to do in a FP shooter stile. Also equipe point is a totally separated thing ... nothing to do with camera stuff.
|
|
|
Post by coldice on May 26, 2018 13:42:04 GMT
It is visible in this video from Invector : at 6:41 where the cursor is. It is a little window for locking cameras if i set the weapon equip points. This little window is visible in the normal tps controller, but not if i add the fps camera. Nothing important, i can setup the weapons before i add the fps camera. But then i must create my player new.
|
|
|
Post by sjmtech on May 26, 2018 14:03:54 GMT
Ok, I got it. You are meaning the procedure to setup the right rotation of the equipe point. Remember that in FPC-Addon you will find the swap component which handle the switching between Invector Third to FPCamera. Add it at your player and use the inputkey to swap in third or set third as your default mode. Let me know
|
|
|
Post by coldice on May 26, 2018 14:14:09 GMT
Ah nice, will try this. Thank you.
Edit: Tried it , but no luck. Anyway i will setup a new player. Thank`s for your time.
|
|