Hello, to whom this may concern.
I am attempting to modify an existing project (Archviz obv.) I have been able to modify most elements so far with a bit of trial and error but i have reached a wall in the next functionality i am attempting to create. Apologies if this construct is allready well known but i will be trying to explain as much as i can so as to reach a greater audience?
PROJECT:
An intefcae that lets users interact with an architectural project and select appartments and get more info, ie: price, interior images, etc…
EXISTING CODE:
- 2 pawns exist - BP_Main explorer PAWN and BP_360 Explorer PAWN.
- The first is the main pawn and the second CASTS a second pawn hidden under project (with updateable 360 texture) to a widget interface that opens as an overlay on screen. This allows people to view a 360 degree “image” of the interior of said selected actor.
- Each appartment is an actor with its own BP that can be filtered and various supplementary info can be viewed through a series of actor variables.
- To cast the 360 image, the button calls upon a custom “switch pawn” event in the main BP controller. But it only controlls 2 pawns and i dont fully understand the logic behind this piece of code.
WANTED:
I would like to add a functionality whereby i could add a button on each appartment that would cast a camera/pawn of the view they have on their balcony to the same type of widget overlay that the 360 interface currently uses.
I could render a 360° image of each balcony and update the image on the widget interface, sure, but what would be cooler is if i could directly cast seperate pawns into this widget interface.
This means casting multiple cameras/pawns (at least 20 to 30) to the same widget interface…
CURRENTLY:
I have currently added the button, added a variable to the appartment actor and created a couple of cameras to cast. Now the hard part.
Is there a way of using an info structure (that would contain the names of the cameras) to cast actor specific cameras to the same widget interface? A bit like this but instead of updating the 360 image it would cast a new camera to the widget interface?
I hope i’ve been as clear as possible and thankyou in advance to anyone who can help!
Sincerely