Home › Forums › General Questions › Can we save position / rotation in Verge published file
- This topic has 4 replies, 3 voices, and was last updated 5 minutes ago by
Alexander Kovelenov.
-
AuthorPosts
-
2026-04-01 at 6:46 am #86816
visualizerCustomerHi
I am wondering if there is any feature in puzzle such as save user changes made to geometries like position or rotation by using drag / rotate facility?Example – A simple scene with cube drag / rotate. If I drag move or rotate the cube then can it be saved by using puzzles or any means? So next time scene opens it reads from certain file or remain in memory the last session parameters?
-
This topic was modified 3 hours, 3 minutes ago by
visualizer.
2026-04-01 at 7:33 am #86818
Alexander KovelenovStaffHi,
This is actually a very good question! There are different methods of preserving state of Verge3D-based applications:
1) Storing data in URL params. Data is saved by the open web page puzzle with replace URL (no reload) option, which in turn gets a URL generated by the set url param puzzle. To retrieve the data use the get URL data puzzle with parameters option.
2) Storing data in browser local storage. See the storage set / storage get puzzles.
3) Storing data on web server. This would require authenticating your users. The easiest way to achieve that would be using cloud-based backends such as Firebase. In fact, Verge3D 4.12 is made fully compatible with such solutions. We’re preparing a how-to guide explaining how to integrate Verge3D with Firebase, so stay tuned!
Which one to chose depends on your situation. Methods 1 and 2 are very easy to implement, but 3 is the standard approach.
2026-04-01 at 9:23 am #86820
visualizerCustomerExcellent to know that our most loved Verge is getting more robust and futuristic.
Interesting.
I will check the references.
Thank you
very much for guidance points !2026-04-01 at 9:42 am #86821saurav
ParticipantIs there any method to save the changed colour or texture of an object in Verge3D?
2026-04-01 at 9:45 am #86822
Alexander KovelenovStaffIs there any method to save the changed colour or texture of an object in Verge3D?
Sure, the same methods I mentioned earlier should work just fine. For the texture there is an additional method based on the file storage capabilities of Verge3D for WordPress plugin. See the Custom Image example in the Asset Store.
-
This topic was modified 3 hours, 3 minutes ago by
-
AuthorPosts
- You must be logged in to reply to this topic.
