Away3D Forum http://away3d.com/forum/ Away3D Forum en Copyright 2019 2019-05-22T14:50:42+00:00 Away3d 4 - Tweening and Physics in 3d http://away3d.com/forum/viewthread/6374/ http://away3d.com/forum/viewthread/6374/#When:12:07:17Z <p>Though this place seams a bit .. dead now and away3d hasn’t had a noticeable upgrade for some time, I’ll still try this:</p> <p>Working on a 3d Point and click game, early stages of trying to figure out the best design for the 3d. Right now, I’m trying using a basic 3D rendered world with 3d Model in it, but fixed camera.</p> <p>anyway, Following the Tweening guide (<a href="http://away3d.com/tutorials/Interactivity_and_Tweening">http://away3d.com/tutorials/Interactivity_and_Tweening</a>) I can make a fairly okay bit with a flat plane and the 3d character model which moves around the world when an area is clicked on. This is, of course, very basic and i’ll be adding pathfinding later on. The problem comes when I add the Away Physics engine to it.</p> <p>The character now thinks it’s a good idea to slide through the floor as they move in the tween, despite it only tweening through X and Z axis (shouldn’t that be X and Y 3d can confuse me with the axis labels at times?)..</p> <p>Any ideas or ways to better use the AwayPhysics engine?</p> 2019-05-22T12:07:17+00:00 Away3d 4 - Pre-rendered 3D sprites http://away3d.com/forum/viewthread/6369/ http://away3d.com/forum/viewthread/6369/#When:09:28:13Z <p>I’m sure I posted this the other day, and I’ve completely forgotten how to do this, or more I remember how it was done in 3.6 which is completely different from 4..</p> <p>I have a Pre-rendered sprite set, featuring the angles for a character. I want to put them into a 3D scene. that’s fine using Sprite3D, however I cannot remember how to get the required angle which the sprite should show to be facing in the correct direction.. any pointers? 3.6 had some tools for it, but I don’t seam to be able to find any in 4..</p> 2019-03-14T09:28:13+00:00 3d Rendering http://away3d.com/forum/viewthread/6325/ http://away3d.com/forum/viewthread/6325/#When:11:18:54Z <p>The 3D Architectural Rendering services, Canada.3D Interior visualization is a fantastic way to the creative individual product, animation, 2D/3D home design plan etc, that produce the best with <a href="http://www.teamdesigns.ca/project.html">3D rendering</a> at Team designs, Canada.We will turn your ideas into attractive digital masterpieces with customization. We service all over Canada with an office in Toronto, Ontario.</p> 2018-06-08T11:18:54+00:00 Using DelaunayMesh to generate aj object from 3D scanner’s data http://away3d.com/forum/viewthread/5821/ http://away3d.com/forum/viewthread/5821/#When:05:38:30Z <p>I have read a lot about delaunay triangulation.&nbsp; Suddenly I realized that there was a class like that on away3d.&nbsp; Great news!&nbsp; &nbsp; But when I tried to use this class I noted that I need to pass a planetype to generate the mesh.&nbsp; I don’t understand at all what is that parameter.&nbsp; In fact, I even don’t know if this class could help me in my project.</p> <p>The thing what I want is just create a mesh starting a 3d scanner’s data which is just a point cloud.&nbsp; Could DelaunayMesh be the class what I have been looking for in order to get a mesh from a lot of “random” points?</p> 2015-03-14T05:38:30+00:00 Loading swf files created using away3D into swf files made using flash GUI http://away3d.com/forum/viewthread/6282/ http://away3d.com/forum/viewthread/6282/#When:12:47:44Z <p>Hello, recently I made an AS3 project using FLASHDEVELOP and AWAY3D everything works fine. However when I tried to load created .swf file (which is located in bin folder) into another .swf file produced using flash GUI(ADOBE FLASH CS6) I get this Error!</p> <p>TypeError: Error #1009: Cannot access a property or method of a null object reference.<br /> at Main/initEngine()[F:AWAY3D_test3DmodeltestsrcMain.as:115]<br /> at Main/init()[F:AWAY3D_test3DmodeltestsrcMain.as:95]<br /> at Main()[F:AWAY3D_test3DmodeltestsrcMain.as:87]</p> <p>Is there anyone who knows how I can solve this problem? I thought if I copy swc version of away3D in lib folders of installed flash CS6 will help me overcome this problem, I was wrong!(or maybe I have copied them in a wrong folder, does anyone know where shall I copy them?) </p> <p>Is there anyone who knows how to load an swf made using away3D into another swf ? </p> <p>Best Regards</p> 2017-12-31T12:47:44+00:00 AWD file Issue http://away3d.com/forum/viewthread/6281/ http://away3d.com/forum/viewthread/6281/#When:14:37:05Z <p>Hi,<br /> I was trying to make an android project(apk)(AIR mobile AS3 app), using Flashdevelop (5.3.0) and AIR_SDK(28)and android sdk ( Revision 23.1.0 (December 2015)), my project uses AWAY3D + minimalcomps and it includes some .awd models ( I made two 3D models in blender then textured them and then imported them in AWAYBuilder and finally exported them as .AWD files) but I recieve the following ERROR!</p> <p>Error: Error #2032: Stream Error. URL: app:/assets/mymodel.awd<br /> at away3d.loaders::AssetLoader/onRetrievalFailed()[F:\away3d-core-fp11-4.1.6\src\away3d\loaders\AssetLoader.as:521]<br /> at flash.events::EventDispatcher/dispatchEventFunction()<br /> at flash.events::EventDispatcher/dispatchEvent()<br /> at away3d.loaders.misc::SingleFileLoader/handleUrlLoaderError()[F:\away3d-core-fp11-4.1.6\src\away3d\loaders\misc\SingleFileLoader.as:411]<br /> at flash.events::EventDispatcher/dispatchEventFunction()<br /> at flash.events::EventDispatcher/dispatchEvent()<br /> at flash.net::URLLoader/onComplete()</p> <p>NOTE: when I make an AS3 project(targeting flash player) everything works fine! and I don’t receive an ERROR!</p> <p>I hope somebody can help me. I even considered to remake the 3D models!</p> 2017-12-21T14:37:05+00:00 [closed] Dispose vertex animation http://away3d.com/forum/viewthread/6263/ http://away3d.com/forum/viewthread/6263/#When:11:24:09Z <p>Hello !</p> <p>I would like to dispose a vertex animation. When i take a look to the function dispose() of the vertexclipnode or vertexanimationset, I find an empty function.</p> <p>only the frames have something in it, and there is something I dont understand :</p> <div class="codeblock"><code><span style="color: #000000"> <span style="color: #007700">public&nbsp;function&nbsp;</span><span style="color: #0000BB">dispose</span><span style="color: #007700">():</span><span style="color: #0000BB">void<br />&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">var&nbsp;</span><span style="color: #0000BB">numSubGeoms</span><span style="color: #007700">:</span><span style="color: #0000BB">uint&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">_subGeometries</span><span style="color: #007700">.</span><span style="color: #0000BB">length</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;for&nbsp;(var&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">:</span><span style="color: #0000BB">uint&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">i&nbsp;</span><span style="color: #007700">&lt;&nbsp;</span><span style="color: #0000BB">numSubGeoms</span><span style="color: #007700">;&nbsp;++</span><span style="color: #0000BB">i</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">var&nbsp;</span><span style="color: #0000BB">subGeom</span><span style="color: #007700">:</span><span style="color: #0000BB">ISubGeometry&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">_subGeometries[0]</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">removeSubGeometry</span><span style="color: #007700">(</span><span style="color: #0000BB">subGeom</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">subGeom</span><span style="color: #007700">.</span><span style="color: #0000BB">dispose</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">}<br />&nbsp;&nbsp;}&nbsp;</span> </span> </code></div> <p>It disposes only the first subgeom. Is it an error? How to dispose properly the animationset and all the animations inside? frame by frame and then just by setting the animationset and the nodes as “null”?</p> <p>thank you.</p> <p>&nbsp;</p> 2017-11-28T11:24:09+00:00 modifying global axes orientation http://away3d.com/forum/viewthread/6261/ http://away3d.com/forum/viewthread/6261/#When:13:41:09Z <p>Is it possible to change the orientation of global axes in away3D? (like in the attached jpeg)</p> <p>It’s different from the orientation in most of 3d softwares (like 3ds max) - sometimes it’s little confusing when you build your scene inside desktop 3d software and try to transfer it into away3D.</p> 2017-10-29T13:41:09+00:00 GameTools Examples Away3D Version? http://away3d.com/forum/viewthread/6260/ http://away3d.com/forum/viewthread/6260/#When:13:58:49Z <p>Hi, I was wondering what specific version of Away3D and AwayPhysics that was used in this old github game tools example:</p> <p><a href="https://github.com/away3d/away3d-game-tools">https://github.com/away3d/away3d-game-tools</a></p> <p>Thanks.</p> 2017-10-07T13:58:49+00:00 How to apply a texture inside a CylinderGeometry http://away3d.com/forum/viewthread/6259/ http://away3d.com/forum/viewthread/6259/#When:07:48:31Z <p>I am using the following code to apply a texture on a CylinderGeometry</p><div class="codeblock"><code><span style="color: #000000"> <span style="color: #0000BB">_plane&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">Mesh</span><span style="color: #007700">(new&nbsp;</span><span style="color: #0000BB">CylinderGeometry</span><span style="color: #007700">(</span><span style="color: #0000BB">100</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">100</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">200</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">64</span><span style="color: #007700">,</span><span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">,</span><span style="color: #0000BB">false</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">),&nbsp;new&nbsp;</span><span style="color: #0000BB">TextureMaterial</span><span style="color: #007700">(</span><span style="color: #0000BB">Cast</span><span style="color: #007700">.</span><span style="color: #0000BB">bitmapTexture</span><span style="color: #007700">(</span><span style="color: #0000BB">FloorDiffuse</span><span style="color: #007700">)));<br /></span><span style="color: #0000BB">_view</span><span style="color: #007700">.</span><span style="color: #0000BB">scene</span><span style="color: #007700">.</span><span style="color: #0000BB">addChild</span><span style="color: #007700">(</span><span style="color: #0000BB">_plane</span><span style="color: #007700">);&nbsp;</span> </span> </code></div> <p>This code is applying the texture on the outside of the cylinder. Is there any way I can apply the texture to the inside surface of the CylinderGeometry?</p> 2017-09-07T07:48:31+00:00