Q3D V-2.4 [3D Physics + Skeletal Animation UPDATE]

From the Asset Store
Template for a basketball game with a 3D aspect (illusion of 3D)
  • cjbruce I used morph animations instead directly, I havn't tried bone animations yet.

    To convert bone animations to morph anim, i think best way is to bake the animations. It's an option in the exporter. (But I think you can bake it in Maya as well). but I haven't played around with this. I didn't do much preparation at all in Maya, just checked the export options. Then check the json file so everything looks okay. You don't need a lot of keyframes, since animations are interpolated in Q3D. I'm just using 6 frame walking animation for example.

  • QuaziGNRLnose Is it possible to load a three.js file containing multiple objects? And can you assign textures to each individual one? I was thinking of using https://threejs.org/editor/ to create the levels, and then just import the levels directly to Q3D. Only dynamic objects i would place in C2.

  • QuaziGNRLnose

    I've been using Q3D without problems for about 6 months now, but this morning when I exported a project, it wouldn't run. Preview works just fine.

    Here is the error:

    Here is the c2runtime.js:

    I am using OIMO physics, and this is a new project.

    Any ideas?

  • QuaziGNRLnose

    I've been using Q3D without problems for about 6 months now, but this morning when I exported a project, it wouldn't run. Preview works just fine.

    Here is the error:

    Here is the c2runtime.js:

    I am using OIMO physics, and this is a new project.

    Any ideas?

    Fixed!

    I had accidentally used a version of index.html that didn't include Oimo.js.

    Everything is working fine now.

  • how can i use the qfx shader, i imported my 3d object but i would like to use any kind of shader?

    from

    it is possible?

  • imothep85

    No, it's not at all that simple. Qfx shaders aren't a complete feature, and shadertoy doesn't use some kind of standard format anyway.

  • QuaziGNRLnose

    Is there anything weird about the raytrace plugin? I have added it to a game layout, then created a new layout as a starting layout. I can loop over all objects when I load the game layout, but when I load the "start" layout first, then go to the game layout, the raytrace object exists in the debugger, but I can't loop through any objects with it.

    Any suggestions?

  • cjbruce

    I'm not sure what you mean, its unclear. Even if it's in the debugger it might not exist in the same scene, but there are too many factors for me to understand whats going wrong. Send me a Capx that demonstrates the problem.

  • cjbruce

    I'm not sure what you mean, its unclear. Even if it's in the debugger it might not exist in the same scene, but there are too many factors for me to understand whats going wrong. Send me a Capx that demonstrates the problem.

    The bug went like this:

    I had two raytracers. One raytracer looked down to see the floor normal. The other raytracer was used for a laser weapon. When I loaded directly to my in-game screen, both raytracers worked. When I loaded from the start screen, then used the "go to layout" to go to the game layout, neither raytracer would raytrace. They both existed with UIDs in the inspector, but they simply would not work.

    It looks like the bugs might have been related to one of two things:

    1. I was using two different raytracer objects.

    2. I had marked the raytracer objects as global.

    In the process of troubleshooting, I set both object's "global" property to "no". Then I added one of the raytracers to a container with a 3D game model. Finally, I refactored the event sheet so that all raytracing was done by just one of the raytracers, and deleted the unused raytracer.

    After all of this, the problem of raytracers not raytracing when a new layout was loaded went away.

  • cjbruce

    If Q3D master is not global aswell that might lead to the issue, since you're destroying the scene the objects are linked to, but they can persist in that scene, while another scene is created that they are not a part of.

  • cjbruce

    If Q3D master is not global aswell that might lead to the issue, since you're destroying the scene the objects are linked to, but they can persist in that scene, while another scene is created that they are not a part of.

    Very interesting. I hadn't paid attention to whether or not Q3D master was global. I had just assumed that I needed to place a new Q3D master in every layout. I just rebuilt the game from scratch today, and was noticing similar behavior with the raycaster not casting -- I will look into this tomorrow to see if it is a "global" issue.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • So I've gone and bought the plugin, but how do I get started using it?

  • Check the manual. It doesn't cover all the capabilities but it should familiarize you with basics.

    https://www.dropbox.com/s/vpn0mbh4m7lo9 ... .docx?dl=0

  • So I've gone and bought the plugin, but how do I get started using it?

    DKinGer,

    In addition to the documentation (which is excellent), there are a number of good tutorials available by searching for "q3d":

    https://www.scirra.com/tutorials/search?q=q3d

    Traditional tutorial with explanations and screenshots:

    https://www.scirra.com/tutorials/9456/building-your-first-3d-game-with-the-q3d-plugin

    Video tutorials by scoterr:

    https://www.scirra.com/tutorials/9417/creating-3d-fpp-games-in-construct-2-by-creator-of-castle-of-hrju

    https://www.scirra.com/tutorials/9472/hud-sprites-and-mechanics-in-3d-for-q3d-plugin-part-1

    https://www.scirra.com/tutorials/9421/importing-3d-models-for-q3d-from-blender

  • Check the manual. It doesn't cover all the capabilities but it should familiarize you with basics.

    https://www.dropbox.com/s/vpn0mbh4m7lo9 ... .docx?dl=0

    Well I was thinking more of how to actually use the plugin. Like when I open Construct 2 it doesn't have any of the Q3D things such as 3D sprites, etc.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)