Camera Editing Blocks

Good Evening,
I am doing a CoSpaces for my school project and I thought of trying to let the person controlling the camera be able to move things around inside of the scene.

I was wondering if this is a feature or not.

Thanks,

Hi Edoardo, you can add second camera and decide what you want these camera’s should do. You can create a board and select buttons with options which you can program with the CoBlocks. A You can add camera’programm these in CoBlocks combing objects and the camera with the selected the flow option along a path (try out different positions respect the object, a little bit behind, beside etc.) Second you can decide somethings will happen at the same time. With the avanced CoBlocks you can do a lot of times. Good luck :v:

Thank you very much, this will make my CoSpaces more interesting.

1 Like

If you consider that your problem is resolved you can mark it as a solution.

Hi @Eduardo_Gamboa_Varga,

You can use BaseItem.input.setItemDrag and BaseItem.input.setCollisionDrag in the TypeScript API to allow the user to drag objects around.

See this remixable example:

Hope that helps! Let me know if you have any further questions about this. If this answers your query, please mark this post as the Solution.

Many thanks,
Geoff @ TechLeap

1 Like