Page 1 of 1

Free Camera Movement

Posted: Tue May 23, 2023 6:34 am
by fr4231
Hello,

Using Invector (Dialogue System integration) and in certain cases I would like to keep the original camera and camera controls active (rotation, but keep the player’s position locked) while displaying dialogues, I don’t set anything in particular (no sequences, no extra actions, nothing), but the camera still seems to be locked anytime a dialogue gets activated. Any way to control that (fix camera or let free camera movement enabled)?

Thank you.

Re: Free Camera Movement

Posted: Tue May 23, 2023 8:09 am
by Tony Li
Hi,

In those cases, you can run this line of code:

Code: Select all

GameObject.FindObjectOfType<Invector.vCharacterController.vThirdPersonInput>().SetLockCameraInput(false);

Re: Free Camera Movement

Posted: Fri May 26, 2023 9:53 am
by fr4231
thank you!

Re: Free Camera Movement

Posted: Fri May 26, 2023 10:07 am
by Tony Li
Happy to help!