1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

Gas project

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by kurtc021914, Jan 15, 2014.

  1. kurtc021914

    kurtc021914
    Expand Collapse

    Joined:
    Jan 12, 2014
    Messages:
    5
    Hello Everyone :) (i'am french, sorry for my english)


    i want to create an object for the game, a gas tank.. :) (I have a nice project idea for it)


    1) I have created it in 3dsmax and export it to a *.DAE file
    2) I have created a *.OBJ file of it with 3dsmax too
    => The OBJ file is for the editor and the DAE for the game? right?


    3) I have created a new vehicule in "real-time vehicule editor"
    4) I have created the node/beam/triangle and configured the vehicule with the same node/beam/triangle configuration as the barrel


    In the game :
    - I see the node/beam/triangle in debug mode and it's seams to works (contact and de formation with a car works) but i can't see the mesh of the object..
    => Do you know what is the problem? is the DAE ? (like the object size of something?)


    Thanks you for your help


    NB : I put my vehicule file in *.zip format and some pictures.
     

    Attached Files:

  2. Zappymouse

    Zappymouse
    Expand Collapse

    Joined:
    Jun 18, 2013
    Messages:
    1,059
    1. The flexbody referenced in your jbeam should have the same name you gave the mesh in your modelling software, which is "Object002" in your case.

    2. You have no material assigned to the mesh.

    3. Your normals weren't uniform; some were facing in, some were facing out.

    Here's a link to a fixed version of your gastank.


    (imported from here)
     
  3. kurtc021914

    kurtc021914
    Expand Collapse

    Joined:
    Jan 12, 2014
    Messages:
    5

    1. Thank you a lot!

    2. yes, there is no material yet :), i try to build it step by step to make sure i understand the logic

    3. your normals? what is that ? triangles?

    4. For triangle : In the editor i think i don't understand the right way ton create a triangle :
    - i click one the first node, the second and the thirt : sometime that's works, a triangle a triangle appears, sometime not.. i saw too some "inverted-face" triangles

    thank you again for your help
     
  4. Zappymouse

    Zappymouse
    Expand Collapse

    Joined:
    Jun 18, 2013
    Messages:
    1,059
    The nodes for a collision triangle should be listed counter clockwise from the outside.

    So if you had

    nodeB
    |
    |
    |
    |
    |
    nodeC-------------nodeA ,

    you'd want the nodes to be listed like so:
    Code:
    [noparse]
    "triangles": [
           ["id1:","id2:","id3:"],
           ["nodeB","nodeC","nodeA"]
           ],[/noparse]
    
     
  5. kurtc021914

    kurtc021914
    Expand Collapse

    Joined:
    Jan 12, 2014
    Messages:
    5
    Ok, thx. I'll recreate the triangles tonight with you tips
    There is another triangle type than "collision"?

    If i understand :
    Collision = Outsite = counter clockwise
    [Other] = inside = clockwise?

    NB : i can't imagine create a car in a text editor like notepad++

    - - - Updated - - -

    I tested the triangle method you gave me, it works perfectly, thx


    1) can anyone tell me why i can't see in the editor all new vehicules i put in the vehicule directory ?
    => The objective is to understand how thrusters works by looking at vehicules with trusters.


    2) is there an explaination about engine and how the force is transmitted to the wheel ? Does anyone have a scheme / tutorial or a simple vehicle to explain the principle ?
    => I really don't understand how the engine's energy arrive to the wheel with the editor; I only see node/beam and settings.

    3) Is it absolutely necessary to make an engine to control a thruster?

    Thank you for your time
     
  6. moosedks

    moosedks
    Expand Collapse

    Joined:
    Nov 4, 2012
    Messages:
    1,113
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice