Forum Replies Created
-
AuthorPosts
-
cfxsCustomer
Hi, there’s no puzzles exactly for that, but you can use “exec code” like this:
The code in the “exec script” puzzle is:<span class=”crayon-title”></span><textarea wrap=”soft” class=”crayon-plain print-no” data-settings=”dblclick” readonly=”” style=”tab-size: 4; font-size: 12px !important; line-height: 15px !important; z-index: 0; opacity: 0; overflow: hidden;”>
document.getElementById(‘iframe’).src = ‘https://www.soft8soft.com/’;
</textarea><table class=”crayon-table” style=””><tbody><tr class=”crayon-row”><td class=”crayon-nums ” data-settings=”show”>123</td><td class=”crayon-code”>
<span class=”crayon-v”>document</span><span class=”crayon-sy”>.</span><span class=”crayon-e”>getElementById</span><span class=”crayon-sy”>(</span><span class=”crayon-s”>’iframe'</span><span class=”crayon-sy”>)</span><span class=”crayon-sy”>.</span><span class=”crayon-v”>src</span><span class=”crayon-h”> </span><span class=”crayon-o”>=</span><span class=”crayon-h”> </span><span class=”crayon-s”>’https://www.soft8soft.com/'</span><span class=”crayon-sy”>;</span></td></tr></tbody></table>
Btw, there’s a restriction on what you can load inside an iframe, for example, google.com doesn’t allow to load its pages like that.
thank you for the explanation. The pages that will be loaded are from my own domain. I have setup the puzzle like you did but I get this error in my console. If I google it I come across something like the page is not fully loaded yet.
Attachments:
You must be logged in to view attached files.cfxsCustomerthank you got it working!
cfxsCustomeris it possible to have someone create it for me in javascript for an x amount of $? We need it quite soon.
cfxsCustomerwe’ll think about making it possible with the Puzzles alone!
that would be great!
cfxsCustomerthank you. Unfortunately I’m not a coder thats why I enjoy verge3d so much.
cfxsCustomerFinnaly got it working! For everyone who runs in to the same questions. Here is my setup.
cfxsCustomerthis is the effect I am trying to achieve.
cfxsCustomerthank you for explaining. Aren’t there any examples available for this?
I looked at get event property and that you print it to the console. Now how can I store that data in a variable?
cfxsCustomerthanks for your response. Do you mean I have to add the “v3d-container” as ID on the text objects? Like in my attached image? It doesn’t work unfortunately.
cfxsCustomerI’ve made some progress. I have the monkey spinning when dragging with mouse and also slowing down after release. The only problem left now is how to spin it in the direction of the drag.
Hope someone can help me out.
PS: I’ve attached a screen recording and my setup in puzzles.
cfxsCustomerthank you for your reply. I assume that I need to add physics to my object right?
Use the when dragged puzzle.
Then use the “when moved” puzzle.
Do I combine these two? Or are they seperate?
Why the move puzzle? The object is supposed to only spin.to trigger a procedure that takes the direction and velocity of the rotation and loops a reduction of the rotational velocity until it reaches zero
This is I think the biggest issue of my question. How do I achieve this procedure? -
AuthorPosts