Updated: state drag block

Q&A about the latest versions
Post Reply
Owen ki
Posts: 22
Joined: Mon Aug 21, 2023 9:46 am

Hi, there

I would like to ask if it is possible to set a pan limit for only one state ? ( there are 4 states in my project)

And it has to be able to click hotspot.

Thx..
User avatar
Hopki
Gnome
Posts: 13128
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Owen,
Each state will use the same number of columns as the others.
What's your use case?
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Owen ki
Posts: 22
Joined: Mon Aug 21, 2023 9:46 am

HI,

This is the light table of my project

What i try to do is that I want to block drag (pan and tilt ) when I enter state 3. And it has to be able to click on the hot spot.

The state of 0,1,2 does not matter.

THX
Attachments
CAP.png
CAP.png (194.98 KiB) Viewed 109433 times
Owen ki
Posts: 22
Joined: Mon Aug 21, 2023 9:46 am

Any idea..?
User avatar
Hopki
Gnome
Posts: 13128
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Owen,
I am sorry but I do not understand what you want to do.
States all use the same number of columns.

So if you are in state 0, when should you see when you enter start 1?
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Owen ki
Posts: 22
Joined: Mon Aug 21, 2023 9:46 am

Hi,

What I want is to be able to limit the movement of drag only in a state 3

and it has to be able to click hotspots.

Thanks.
User avatar
Hopki
Gnome
Posts: 13128
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

If you remove images from a state it will reuse the remaining images, so as you rotate state 2 it will be like seeing a delay but it's reusing the last image for the columns with images missing.
But we would like to know more about what it is you expect to happen, and what would be the user experience.
For example, if states 0 and 1 had 36 columns and state 2 had 16, what would happen when switching states if you are on column 30?
While looking at the problem you can use a logic block in Object2VR 4 so when state 2 is selected it opens in the default view.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Owen ki
Posts: 22
Joined: Mon Aug 21, 2023 9:46 am

States 0, 1, and 2 have 30 images, and State 3 has only 10 images. So I want to restrict viewing objects by drag and control them with buttons only when I switch to state 3. That's why we're restricting drag by allowing a transparent layer with an alpha value of 0 to appear when it's switched to state 3. But the problem is that when you do this, you can't click on the hotspot.
User avatar
Hopki
Gnome
Posts: 13128
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Update to this post with Object2VR 4.
It is now possible to have multiple Rows with the first row having the full set of images for the rotation.
Then only one image in the next rows, for example, column 3 in all rows to have an image with all other columns empty.

What will happen is you can rotate but when you get to column 3, you can drag the object up and down to show the other rows.
Of course, you have to return the row 0, then you can rotate again.
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Owen ki
Posts: 22
Joined: Mon Aug 21, 2023 9:46 am

HI, Hopki

Could you share the project file as an example plz ?
User avatar
Hopki
Gnome
Posts: 13128
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sadly there is a zoom bug with this feature, so with zoom deselected, it will work well.
It's in the bug tracker, but all you have to do is set say 12 columns and 4 rows.
Row 1 has all 12 images, and rows 2, 3 and 4 have a single image dropped into column 3.
This will allow you to rotate two column 3, then mouse up and down to view the single image in rows 2, 3 and 4.

Please see the attached project.
Attachments
row.zip
(315.95 KiB) Downloaded 9 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply