Forum Replies Created
Though I am not able to see the ‘LF’ or ‘CRLF’ in the notepad++ but my example is working now, will keep an eye for such mistakes coming forward.
- This reply was modified 2 months, 2 weeks ago by saurav.
Hi, I used this approach to try and hide some cubes from my 3D scene,
The approach in which .txt file is used I have 5 names added in the .txt file but only the last i.e.,5th object gets hidden when I click on ‘hide’ button.
Then another approach in which json file is used is not working altogether, none of the cubes mentioned inside the objects list is getting hidden.
Please refer to the photos added and share the solution for the problem I am facing.
Actually when I run the app as soon as I made this change in visual_logic.js what I saw was my original cube moving back and forth, but there was no clone cube, and so I went to the puzzle editor to see why despite adding clone object puzzle there is no clone of the cube present in my running app.
Because my end Goal is to see at least one more cube which is cloned and also has the cloned animation of the original cube.
And will I have to add these code lines in puzzle_min.js while following that ‘\n’,’\t’ required format?
Whenever I am adding the clone object puzzle and then ‘Save’ & ‘Play’ in the puzzle editor to see if the animation is getting cloned as well or not, my visual_logic.js file gets reset.
You said to add this in the puzzle_min.js file as well but in my directory it is not visible.
I have attached the screenshot of my directory as well.
I have added the suggested lines in the visual_logic.js as per the first link that you shared but it is still not working.
I have attached the screenshot of my function after adding the suggested code lines. Please have a look and point my mistake if any.
I went through and was successful in implementing the suggestion kdv gave.
I had another concern that if I was previously using this list to hide suppose 5 objects out of a collection of 10 objects. Then how can I do that using this list suggestion kdv gave.
Like, if I use the plain text method or Json method I am not able to hide the objects as I was able to before by using the lengthy puzzle approach of making the list.
What I did was I added the names of the objects I want to hide in the text file and used hide puzzle. And this didn’t work.
Is there some way to get this output using this text file method/ Json method.
I have opened the puzzle.min.js file to search for the cloneObject function, but it is appearing in a different format, which you can see in the image attached here.
Do I need to download some specific software or application to view it in the format that are visible in your solutions above?
You saw the photos I shared, and the steps written by me that I followed, did I make a blunder in understanding any step?
We both did the same thing right? Or am I missing something?
Below I have attached 2 images, these two contain the instruction saying to upload the ‘Exampleplugin.zip’ file in ‘puzzles/plugin’ and the result will display the puzzles in puzzle editor which in my case didn’t and is evident from the screenshots I have attached.
Please refer and share the solution for the same.
Yes this demo scene worked properly for me
I referred to the guide link there is this line that says that whichever plugins I want to see in my puzzle editor must be kept in puzzles/plugin folder, so I added the example plugin given there, but it is not visible in my editor. Also, when I make a change in any existing puzzle code like ‘changing its name’ it won’t work either.
I tried to clear my cache and see for change in results but there are none. What do you suppose I am doing wrong here?
Will refer to the guide link you shared.
Ok, will try this approach once and get back to you
Can I make it like this that, suppose I have a cube performing a jumping animation, I want an iframe in the scene which shows that animation but from different angle.
How can I do this, through puzzle??
Or any other way??
Thanks for the reply.
Can you elaborate this concept of messaging that you are talking about. I am new to this application so don’t know, maybe share a link or some content to read on it so I can grasp this idea you are sharing.