X3M's Forum Posts

  • matriax Thats not how things work, its not as simple as you think.

  • matriax Nah thats not practical

  • matriax Then your .mtl file is faulty, when you export an .obj model, Blender sets the directory url in which your pictures reside inside the .mtl file, so check your mtl file with notepad and make sure that the path link to the picture is absolut, like this : Rock-Texture-Surface.jpg

    There should be no C:\User\Documtents... inside the file.

    Read this : https://developer.blender.org/T28621

  • matriax No you just need to import the .OBJ file and its .MTL along with the pictures.

  • matriax 3DS Max is the easiest 3D software to get accustomed to , here is what you're looking for :

    Subscribe to Construct videos now

    Then after you just have to export as .Obj or .JS and load it in C2. Thats it.

  • twg

    Android

    Samsung Galaxy Edge 6:

    Fog example : FPS 53-56

    HTC One m8:

    Fog example : FPS 59-60

    matriax Texturing a box does not require a boxmap composed of the same face texture, you only need one square texture. If you want to make a box which has different faces then you should do it using 3DS Max (Multimaterial).

  • matriax Correct, actually the name will not be accounted for anymore, but I will leave it there just to distinguish between your meshes on the layout. But it will not be used anymore by the engine.

    No, since you won't need the mesh name anymore. From now on (This applies only for the NewXXX plugins) you will access things with Pick by UID just like Sprites.

    fuego96 If you leave the tab and return, the locking will slightly go loose

  • fuego96 You are actually rotating the camera on the WORLD axis,

    LOCAL axis is only used when you set a parent for your object, since the child inherits the parent rotation, you can rotate it around its LOCAL axis. Example : A door and its hinge.

    P.S: that room looks real, I have never used baked lights before, but after seeing this I'm considering doing it because lights look surreal in vray.

    I'm a actually hitting the roof with my head or are you locking the vertical tilt ?

  • matriax

    fuego96

    Sorry for the late reply, I'm actually rewritting the new plugins because I've found a way to make the C2 events work with the objects as if they were sprites, now you will be able to create new objects using System->Create object , and the new clones will inherit the C2 behaviors .

    Now cloning a Mesh is the same as cloning a Sprite.

    As for the camera.rotate issue, the lastest version of the library has made some changes, they basically dropped some functions including .rotate( , so I'll need to rewrite those functions.

    matriax About your raycast behavior suggestion, I don't think its doable , however I can make a laser behavior for the camera, which will create a laser parented to the camera and returns at every tick the name of the mesh thats intersecting it.

    How about this ?

    Stop trolling, seriously... Because you are either trolling or you don't know what you are talking about ...

  • X3M I found a rather catastrophic bug (brings down the C2 app).

    How to reproduce:

    1. Open the "Laser or Raycast.capx" file (the one you did initially)

    2. Add action --> NewCamera --> (Babylon Camera) "Zoom on mesh", select "Box" and hit "Done" button.

    I got:

    Hit "Abort" and then I get "Construct 2 game creator has stopped working". And quits to desktop.

    Yep thats the way C2 tells us not to mess with the Object param <b></b>, ITS MINE !!!11!!

    In a serious note, I will stop using those bold brackets or whatever they're called. They only cause trouble.

    Fix:

    Step 1-search line : Zoom on mesh <b>{0}</b> in the common.js file on the camera plugin.

    Step 2- turn it into : Zoom on mesh {0}

    Well turns out that the zoom on mesh function is not available anymore in the library, I'll PING the devs about it.

    For now avoid using zoom functions.

  • Camera->Set position target (0,0,0)[/code:kpw2zhkm]
    Will make the camera look at the pos 0,0,0
  • matriax Send me your capx. Parenting the laser to the camera should do it. But I still don't know why my demo didn't work for you, maybe Its because I'm using the 0.6 which is still in developpement.

    fuego96 Unfortunately thats not on my to do list for this particular plugin. It will be done for a different product.

  • Change it to 1000,0.5,0.5

    Anyway you should get the point how they work

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here is a capx which explains two methods , one using Raycast and the other using Intersection.

    You know whats cool? That you are able to get the exact contact point with Raycasting, this will come useful when I will implement Decals in the future. You know, bullet-holes and stuff...