I have multiple object-doorways to move between 2 scenes. I’m using 360º photo scenes.
How can I set the direction/pov of the camera? I want to aim it at a particular object. I imagine it’s the xyz variable, but which command?
Hi Tanya!
If you add a camera object to the scene, you can use that object in your block coding to turn it to face an object or an XYZ Coordinate.
Great, thanks I’ll try it.
Hi, I don’t really like the effect of the camera. It throws things out of alignment. I’m doing something quite simple and not moving through the space. I’m training people to use Method of Loci in specific locations in the school. So I prefer to just be in the centre of the sphere without distractions.
Is it possible enter the new scene looking in a specific direction or at a specific object? Without the camera?
Hi Tanya,
I do not know of a way to alter what you are looking at when the scene loads without using code. Since your Point of View when loading into a 360 scene is not a game object, you cannot force it to look at a certain direction upon loading (or if you can, I could not find a way to do it).
Perhaps you can position the camera at the same XYZ coordinates you spawn in on, to keep the viewport the same?
Hi BRIC, I did try that but it seems to change things I don’t mean to change. (Like the arrow keys start moving object in edit mode).
Can you even put code in scene 1 that gets enacted in scene 2? or are the scenes independant?
It’s ok, I’m learning as I go.
I have two scenes which are two parts of the playground and they can ‘see’ each other (but there’s stuff in the way). So I was hoping if I clicked the marker on, say the basketball hoop, I could jump into scene 2 facing the basketball hoop (which has a marker item, so I could also be facing the marker item).
In other question news, it there a way to see xyz info while I’m editing? Like you can in minecraft? At the moment i click on the object and see the ‘transform’ info.
Thanks for trying to work out what I mean!
Cheers, Tanya
Hi Tanya,
The scenes are independent, but you can use global variables to keep track of things between scenes (its called “CoSpace Property”). So, for instance, if you wanted to keep track of if a student clicked on an arrow in scene 1, you could assign that to a CoSpace Property variable and be able to access it in Scene 2.
The only way I know of to see xyz info while editing is to right click on the object in question and go to its “transform” tab. There, it will list its current position in the world. I would love to see a toggle option to display its coordinates above its position in the world, but there isn’t anything like that right now.