question

Omar Aguilera Rico avatar image
0 Likes"
Omar Aguilera Rico asked Omar Aguilera Rico commented

Interaction of the user with objects in VR

Hi good day. I have left some concerns about the application of virtual reality with FlexSim, I leave acontinuacion: When using virtual reality, can you develop a model where you can interact with Oculus Rift Touch which can move objects that are in the plane from one location to another? See Dashboards in the plane as if they were Slide? I have to see a model of Zoombies in which there is a button that accelerates the time with the use of Oculus Rift Touch, how is it possible to make that when you touch the cylinder activate to increase the speed of the model? I also have to see a model where you take an operator and place it on a machine and the operator goes to the machine and operates it, just as with a lever a crane is controlled, as that logic is developed so that the user who uses it Virtual reality can interact with the objects that are in the FlexSim plane? I would greatly appreciate your contribution of information, I am looking to make the development of a model like the one of Zoombies or the one that you interact with the crane with Oculus Rift Touch. Regards!

FlexSim 18.0.2
vrdeveloper use
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

@Omar Aguilera Rico,

Do you already have a copy of the Zombie model and the VR demo models:

https://answers.flexsim.com/articles/37895/vr-demo-models.html

In addition to those demo models, there are also several other Q&A posts here at Answers from people who are pursuing the same goal:

https://answers.flexsim.com/questions/44272/how-to-interact-with-the-objects-using-vr-oculus-r.html

https://answers.flexsim.com/questions/43089/rotations-in-vr.html

There may be others as well that I didn't find in my quick search.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

@Omar Aguilera Rico,

Why is this question private? It doesn't contain any model info, only general questions.

The info contained in any Answers that are posted here could serve the entire community if we made this a public question. Do you mind if we do so?

Also, others with VR experience might be able to provide their own insights, in addition to any Answers provided by our support staff.

0 Likes 0 ·
Omar Aguilera Rico avatar image Omar Aguilera Rico Ben Wilson ♦♦ commented ·

Hello, of course there is no problem if they make it public. Thank you!

0 Likes 0 ·

1 Answer

Ben Wilson avatar image
2 Likes"
Ben Wilson answered Omar Aguilera Rico commented

@Omar Aguilera Rico,

Our #1 top-gun for VR @phil.bobo is the right person to address your questions, and he can correct me or add further info when he has time:

When using virtual reality, can you develop a model where you can interact with Oculus Rift Touch which can move objects that are in the plane from one location to another?

Yes, the demo models show how you can pick things up and move them (I'm thinking of little statues of operators). Theoretically you could program some other sort of interaction where when you move something that is within your reach, or interact in some other way (dials, buttons, levers, whatever you want) it moves objects out in the broader model.

See Dashboards in the plane as if they were Slide?

No, this is not currently possible. The Dashboards are rendered with the in-software web browser, which is not integrated with the 3D view. You would have to create your own 3D charts/graphs using OpenGL draw commands for it to show up in the 3D view. That in itself is a substantial undertaking.

UPDATE 2018-02-27: @Allister Wilson has created a proof of concept where dashboards are shown in the 3D view. Also @Jörg Vogel's Answer on the same question illustrates using the old Recorder object, though it is deprecated so your mileage may vary.

how is it possible to make that when you touch the cylinder activate to increase the speed of the model?

Open the Zombie model and let's take a look at how it works. If you look at the tree, you will see objects at the top of the tree that build the control panel. The Handle object has OnPreDraw and OnDraw event functions that call User Commands. Start exploring the control panel tree objects, and the User Commands. Once you have a specific question regarding any aspect of that, start a new question where you can ask that specific question.

...that logic is developed so that the user who uses it Virtual reality can interact with the objects that are in the FlexSim plane?

Once again, open one of the VR demo models, look at the tree objects, look at the user commands, see how they work. Start a new question if you need any help with what you learn from the demo. If you ask a specific question, we'll be able to help you much better.

Link to VR demo models

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Omar Aguilera Rico avatar image Omar Aguilera Rico commented ·

Thanks for the info!

0 Likes 0 ·