Help with camera rotation!

DeadLik

New member
Hello, I can not find the information, how to turn off the camera rotation during the interactive scene, during my scene I can rotate the camera as many degrees as you want, you can see a character without a head, how can I fix this? Also, if I go to the door sideways and press to use, the character's body turns and the camera stays in place

Screenshot_1.jpg,
 
You can send the OnAllowGameplayInput event in order to disable input during interactive scenes. Take a look at the bottom of this page: https://opsive.com/support/documentation/ultimate-character-controller/input/

With the Combat View Type the character will rotate to the same angle as the character. The Free Look View Type allows you to restrict the angle to prevent the camera from looking at the character.

Also in which event to disable camera control and what would happen in the interactive scene?
 
You can send the OnAllowGameplayInput event in order to disable input during interactive scenes. Take a look at the bottom of this page: https://opsive.com/support/documentation/ultimate-character-controller/input/

With the Combat View Type the character will rotate to the same angle as the character. The Free Look View Type allows you to restrict the angle to prevent the camera from looking at the character.

I set the free camera, as the angle of rotation to adjust? 90 degrees a lot.
 
Also in which event to disable camera control and what would happen in the interactive scene?
That input page gives an example of disabling gameplay inputs which will disable the camera control. You can execute it when you start the interactive scene.

I set the free camera, as the angle of rotation to adjust? 90 degrees a lot.
You'd adjust the min and max yaw limit.
 
You can send the OnAllowGameplayInput event in order to disable input during interactive scenes. Take a look at the bottom of this page: https://opsive.com/support/documentation/ultimate-character-controller/input/

With the Combat View Type the character will rotate to the same angle as the character. The Free Look View Type allows you to restrict the angle to prevent the camera from looking at the character.

Thanks for the information, another such question, a bit on another topic, how to adjust the sound of steps, set up the settings as in the demo scene, straight copy, not working, made prefab from the demo scene of circles with textures, have a sound character, but a single one, no longer repeats until I come back again, what's the problem?
 
Top