A cool idea for the future of flowlab

Using raycaster and accelerometer examples grazer made but the block is a camera it would make vr movement

1 Like

I like the idea, but you should probably put this on the feature request section (unless I’m dumb, I don’t know if this is one)

This is something that could be achieved

1 Like

so yes, it should be in a feature request because then you have a better chance of getting answered.

Feature requests is something that should be added not for the achieveable

Wait are you talking about making a 1st person game?

Yes

There are already examples of that

Like I said VR and I already mentioned that

Vr depends on head movement not key movement

I don’t think this is achievable on flowlab

There is an accelerometer example made by grazer (:man_facepalming:) and it tracks the phone accelerometer and makes the block fall down on the phone screen

Now replace that block with a camera combined with raycaster

Can you send the link to it?

https://flowlab.io/assets/users/16/user_6/game_2594929/android.apk?v=1723825896

1 Like

It only works when downloaded

1 Like

Ah okay I understand now. Also, maybe this should be the example page?

1 Like

It was

1 Like

Accelerometer only detects change in motion, not coordinates. You will need accelerometer, gyroscope, magnetometer (or IMU) to pull off accurate VR experiences.

The lack of magnetometer data will mean the data can be prone to drift after enough movement/shaking. But with that in mind, it is somewhat possible to do VR with flowlab but where you will have to sit in one spot and look around.

1 Like

Well I mentioned this in OTC (or somewhere else): Controller movement, the VR is for sights, the movement is a controller.

2 Likes