Cant figure out why my second camera cant move while hiding inside closet

Im trying to make player be able to move camera to sides , up and down while he is hiding in closet, when he enters the closet moving camera around does not work im adding 2 codes that im using
Im using seperate camera that is inside hiding spot , it transitions smoothly from my player character to the one thats inside closet but i cant move the camera after im inside the closet

i added pictures from closer that’s my Hiding object blueprint and i dont have Use pawn control rotation ticked

This is UE 5.3 and it has that new "Enchaced input action system and it looks different i think if i used the old system i would have it working but maybe i’m not far away from having it working with the new system



Hey @TomSikLT!

A few questions to help get the ball rolling:

  • Is “Is Hiding” registering as true when inside the closet?
  • What does your move camera function look like?
  • Where are you setting “Is Hiding” true?
  • If you are calling this from your closet, have you set up your inputs for the closet itself (the same way you would for a character)?

Any additional specifics or info you provide may go a long way in solving your problem.

  • Is “Is Hiding” registering as true when inside the closet? - Yes

  • What does your move camera function look like?
    Move camera theres no seperate function its only whats in the first 2 pics of this post, i was following youtube video https://www.youtube.com/watch?v=gHJ4pHlqAzQ&t=458s maybe this will help at like 23:30 in the video he just added the event and didnt do anything with it

  • Where are you setting “Is Hiding” true? im setting it in BP_Closet , the same bp im setting the camera while in the closet

  • If you are calling this from your closet, have you set up your inputs for the closet itself (the same way you would for a character)? Why do i need to set inputs for closet ? these are my inputs in project settings

Im sorry maybe i don’t understand everything u asked me but i will try my best to add more info if needed ?

I fixed it :smiley: i looked back into code and i saw that i never called move camera function when im in the closet :smiley: , i do have another question tho , i want to make a smartphone that i could use in my game to call other functions and to make it visible from the first person , with screen and apps any tips how to ?

Hey @TomSikLT,

I am glad you found your solution. Your second question is pretty broad, and really depends on the specifics of how you want this to work, but I would suggest building a phone menu via widgets and proceeding from there.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.