Page 1 of 1

Portal and Player position

Posted: Thu Jul 13, 2017 2:48 pm
by creativeocclusion
When the Player goes through the portal to change scenes, he sometimes appears in the next scene with his gun stuck pointing to the left and down...If I press SHIFT W he goes back to the normal IDLE animation...

This does not happen every time...This is why I cannot figure out what is causing it...It happens about 1 out of 3 times...

Not sure if this is a Unity problem or something with the Save System....I am using Unity 5.6...

Thanks for any help....

Re: Portal and Player position

Posted: Thu Jul 13, 2017 3:14 pm
by Tony Li
Hi,

I'll look into this and reply back later today!

Re: Portal and Player position

Posted: Thu Jul 13, 2017 9:57 pm
by Tony Li
I haven't been able to reproduce the issue. I've reached out to Azuline for direction. I think it has something to do with gun sway, but that bit of RFPS code is rather twisty and I want to make sure I don't introduce any side effects. If you pick up any more details, please let me know. Does this only happen when the player sprints through a portal?

Re: Portal and Player position

Posted: Thu Jul 13, 2017 10:45 pm
by creativeocclusion
I believe it mostly happens when you sprint into portal.... I will try it out different ways and let you know... Thanks for looking into it for me....

Re: Portal and Player position

Posted: Fri Jul 14, 2017 11:06 am
by Tony Li
I got some feedback from Azuline on how to address this. I'll try to make a patch available by tomorrow.

Re: Portal and Player position

Posted: Fri Jul 14, 2017 12:26 pm
by creativeocclusion
Does this only happen when the player sprints through a portal?
I have tested this and it can happen when you walk or run into the portal...
I got some feedback from Azuline on how to address this. I'll try to make a patch available by tomorrow
Thank you...

Re: Portal and Player position

Posted: Fri Jul 14, 2017 9:30 pm
by Tony Li
I'm afraid I still haven't been able to reproduce it. It might be related to timing, perhaps affected by how long it takes to load a scene.

In any case, I just PM'ed you a fix that Azuline believes should address the issue.