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
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
I fixed it i looked back into code and i saw that i never called move camera function when im in the closet , 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 ?
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.