Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu camera to regular camera transition doesn't trigger until pausing the game #18

Open
TheBlackParrot opened this issue Jul 6, 2021 · 3 comments

Comments

@TheBlackParrot
Copy link

Hi there! I really like the plugin so far, but I'm having an odd issue where the menu camera sticks around until I pause the game. I have one MenuCamera and one Camera. HTTPStatus is working fine as my overlay also uses that mod and appears/disappears as expected.
https://www.twitch.tv/videos/1078332242/?t=1h31m10s

@sepffuzzball
Copy link
Collaborator

Hmmm, I feel like we did have a bug where if there was only one or two cameras that it wouldn't act as expected. I thought we fixed it but I wonder if we (probably me) broke it again.

If you add multiple cameras does it switch as expected? If you need some additional camera angles to add, here's what I'm using currently:

https://pastebin.com/D7Jke7Zp

@TheBlackParrot
Copy link
Author

TheBlackParrot commented Jul 7, 2021

I duplicated my in-game camera with no luck, but it worked after adding the min/maxTime variables to both copies.

GlobalBias='10.0'
MenuCamera={
	Name='MenuCamera'
	Type='LookAt'
	PositionBinding='playerWaist'
	PositionOffset={x='-0.8', y='0.5', z='1.7'} 
	LookAt={x='1.0', y='-0.25', z='-2.0'} 
	TransitionTime='2.0'
}
Camera={
	Name='Game'
	Type='LookAt'
	PositionBinding='playerWaist'
	PositionOffset={x='2.0', y='0.4', z='-3.0'} 
	LookAt={x='-2.0', y='0.0', z='5.0'} 
	TransitionTime='2.0'
	MinTime='8.0'
	MaxTime='16.0' 
}
Camera={
	Name='Game2'
	Type='LookAt'
	PositionBinding='playerWaist'
	PositionOffset={x='2.0', y='0.4', z='-3.0'} 
	LookAt={x='-2.0', y='0.0', z='5.0'} 
	TransitionTime='2.0'
	MinTime='8.0'
	MaxTime='16.0' 
}

@friesofdoom
Copy link
Owner

I think you only need one camera now, I could be wrong, It probably died because of the missing min/max time. There could probably be some better error checking around that code.
Thanks for reporting the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants