Closed stefanofossati closed 1 year ago
There is another bug: the noclip camera has the same reality player position. So the function OnTriggerEnter of the noclip collider creates problem when there is a switch camera from reality mode to noclip. This problem happens after the first switch camera
There seem to be a few conflicts with some files. Can you manage to resolve them? Once done, I'll have a look at the build! Nice labels by the way.
Before merging, I try to fix the bugs
I have resolved the merge conflict, but the orientation bug isn't resolved. Probably the update of mouseLook overwrite the changes of the rotation. Maybe the mouseLook isn't implemented well
the problem on the colliders is now solved
There is another bug: the noclip camera has the same reality player position. So the function OnTriggerEnter of the noclip collider creates problem when there is a switch camera from reality mode to noclip. This problem happens after the first switch camera
I am not sure, but it might be that we both worked on a similar topic and merging this PR created conflicts. I am going to see if I can fix the conflicts, else we can update each other
There is another bug: the noclip camera has the same reality player position. So the function OnTriggerEnter of the noclip collider creates problem when there is a switch camera from reality mode to noclip. This problem happens after the first switch camera
I am not sure, but it might be that we both worked on a similar topic and merging this PR created conflicts. I am going to see if I can fix the conflicts, else we can update each other
I have solved the conflicts, for me the implementation works fine, @spig95 check and if it's fine we can finnally merging
I have left some comments in the code.
Moreover, I have noticed that if I am in the noclip mode and I look into a direction, if I press W the camera does not move in that direction, but instead it moves horizontally. In develop, the behavior is different. Is this wanted or not?
Ok I have found the issue. Now all should works, the problem is that I don't like the noclip player that is empty. But we can change the structure later.
AllPlayer
├RealityPlayer
│ ├RealityBody
│ └RealityCamera
└NoclipPlayer
└NoclipCamera