0
Fixed

Switching between third person camera motors changes direction upwards

MiTschMR 3 months ago in Game Creator updated by Marti (Lead Developer) 2 months ago 3

Hi Marti

I have an action, which switches the camera between two camera motors (one behind each shoulder of the character). You have added the property "Initial Direction" in version 1.1.1 of GC to the third person camera motor so that the character faces the direction of the camera when switching to it. I now have the strange problem, that when switching between those two camera motors, each time when I switch, the camera looks a bit upwards to the sky. I try to make a video so you can imagine of what I am talking about. With GC 1.0.7, before these changes with the initial direction, this does not happen. 

GC 1.0.7

Motors:

Motor Right:


Motor Left:

Actions:

Switch Right:

Switch Left:

GC 1.1.2

Motors:

Motor Right:

<Will be added>

Motor Left:

<Will be added>

Actions:

Same as in 1.0.7. 

Cheers

Michel

Unity version:
2019.2.15f1
Game Creator version:
1.1.2

Answer

+1
Answer
Fixed

Hi!

I'm marking this ticket as complete. I've just finished adding a new option in the "Adventure Camera Settings" Action that allows to smoothly change the values of both the pivot and target offsets. It will be available in the upcoming 1.1.3 version. Here's a small video capture.


And here's how the Action looks like:

If you have further questions, please let me know. Cheers!

Somehow I can't edit the post, so here are the pictures for GC 1.1.2:

Motors:

Motor Right:

Motor Left:

Actions:

Same as in 1.0.7. 

Videos:

GC 1.0.7:

https://1drv.ms/v/s!ArP4UmAVXbyi8G__nPIpm-UbdLpn?e=ubgZAl

GC 1.1.2:

https://1drv.ms/u/s!ArP4UmAVXbyi8G7IVbkkS__Pl6V7?e=fAFG0a 


Even though I dug through the code, I did not find anything that could be causing this. Do you find anything that could be causing this or have an idea where to start debugging?

+1
Planned

Hi MiTschMR;

Sorry for the late reply. And before anything, thank you very much for the exhaustive report!


I'm not sure what might be causing this, since there haven't been any significant changes in the camera system between 1.0.7 and 1.1.2.

I'm opening a ticket to investigate this further. However, what you're trying to do is a common mechanic and I think there should be an easier way to do this.


So I'm also opening another ticket that will allow you to do all this with a single Adventure Camera motor. I'll create the option in the Action "Adventure Camera" to change the pivot offset so you can change it between 1 and -1, allowing to shift between shoulder.

Hope this will work around better for you. Despite this, I'll still investigate the issue causing the "look at sky" movement.

+1
Answer
Fixed

Hi!

I'm marking this ticket as complete. I've just finished adding a new option in the "Adventure Camera Settings" Action that allows to smoothly change the values of both the pivot and target offsets. It will be available in the upcoming 1.1.3 version. Here's a small video capture.


And here's how the Action looks like:

If you have further questions, please let me know. Cheers!