Home › Forums › Programming › can’t clone a object by text “cube” instead of the relevant selector puzzles
Tagged: a problem about clone
- This topic has 10 replies, 3 voices, and was last updated 4 years, 2 months ago by Yuri Kovelenov.
-
AuthorPosts
-
2020-09-25 at 5:28 am #33312zirenjianCustomer
i noticed that “text puzzle can also be used to provide names for objects, materials, animations or groups instead of the relevant selector puzzles”
so “cube” = selector puzzles named cube.
i made a selector following the “scene_selector” in the “load unload” application. jast like this:
create text with get attr value from elem “scenme_selector” in parent doc-
when i clicked the selector,i can get the value of the selector,then i can get the object.
i can show it,hide it,but can’t clone itAttachments:
You must be logged in to view attached files.2020-09-25 at 6:38 am #33326Yuri KovelenovStaff2020-09-25 at 8:45 am #33333zirenjianCustomerfisrt,i find that the object i get by clone.it’s status is not stable.sometimes when i click it,i can’t get it’s information,and others i can get it.
second,when i clone an object i selected and replace the object in the primary position i clicked,the new cloned object’s information can’t show.shoud i save the changed scene firstly?2020-09-25 at 2:03 pm #33368Ivan LyubovnikovStaffHi, we’ll make it available to use text puzzles as an input for the “clone object” puzzle in the next verge3d update. The update is planned to be released within 1 or 2 weeks, stay tuned!
Co-founder and lead developer at Soft8Soft.
2020-09-26 at 4:27 am #33380zirenjianCustomeromg,
2020-09-27 at 5:50 am #33430zirenjianCustomerWe are using clone in a project. The customer needs this function. But the time is a little tight, so we need to explain it to the customer. In addition, I have a question: when I write a clone separately in the puzzle, I can get the information of the generated clone object and display it when I click the object. However, in the event of clicking an object, when I click the generated clone object, I can get the information of the generated clone object, Unable to display information,It seems that the new cloned object is not in all projects. can this problem be solved when updating?
Attachments:
You must be logged in to view attached files.2020-09-27 at 10:45 am #33445Yuri KovelenovStaff2020-09-27 at 4:11 pm #33456zirenjianCustomerhi,yuri.
The cloned object can’t get information when clicking. I made a test video, you can have a look
https://we.tl/t-MAZdKh9yl42020-09-28 at 9:16 am #33482Yuri KovelenovStaff2020-09-28 at 11:47 am #33500zirenjianCustomeryes,I did create two clone objects. In fact, if I create only one clone object, I still can’t get the corresponding information.But the effect I want to achieve is: when you click any object and select the object you want to replace in the corresponding information bar, you can complete the clone operation and let the cloned object replace the original object. Now it seems that these have been realized, but the cloned object can not display information like the original object. I wonder if there is any problem with my puzzle?
2020-09-28 at 2:06 pm #33508Yuri KovelenovStaffI think the problem is that you assign a ‘when clicked’ puzzle to ‘all objects’, but the clones are not created yet, so ‘all_objects’ puzzle does not contain them. As such, no clicks are registered.
You might try to assign a new ‘when clicked’ puzzle to the just cloned object.
-
AuthorPosts
- You must be logged in to reply to this topic.