Hello everyone. I have a question that someone could probably tell me in their sleep (or tell me to look at the wikis, which i have btw). My model box, yes box, is not staying confined to the bounds of the nodes and such. Not sure why and can't figure out anything to get it to stick. If anyone can help a noob out, i'd be greatly appreciated! I have attached a screenshot of what i mean and have included my code and cube model. Code: { "MyFirstVehicle": { "information":{ "authors":"ProSpartan", "name":"MyFirstVehicle", } "flexbodies": [ ["mesh", "[group]:", "nonFlexMaterials"], ["Cube_a", ["MyCar"]], ], "refNodes":[ ["ref:", "back:", "left:", "up:"] ["1a", "1b", "1c", "2c"] ], "nodes":[ ["id", "posX", "posY", "posZ"], {"nodeWeight":70}, {"group":"MyCar"}, {"frictionCoef":0.7}, {"nodeMaterial":"|NM_METAL"}, {"collision":true} {"selfCollision":true} ["1a", 0, 0, 0], ["1b", 1, 0, 0], ["1c", 1, 1, 0], ["1d", 0, 1, 0], ["2a", 0, 0, 1], ["2b", 1, 0, 1], ["2c", 1, 1, 1], ["2d", 0, 1, 1], ], "beams":[ ["id1:", "id2:"], {"beamSpring":500000, "beamDamp":800}, {"beamDeform":75000, "beamStrength":"FLT_MAX"}, //bottom ["1a", "1b"], ["1b", "1c"], ["1c", "1d"], ["1d", "1a"], //top ["2a", "2b"], ["2b", "2c"], ["2c", "2d"], ["2d", "2a"], //faces ["1a", "2a"], ["1b", "2b"], ["1c", "2c"], ["1d", "2d"], //diagonal face ["1a", "2b"], ["2a", "1b"], ["1b", "2c"], ["2b", "1c"], ["1c", "2d"], ["2c", "1d"], ["1d", "2a"], ["2d", "1a"], //diagonal top bottom ["2a", "2c"], ["2b", "2d"], ["1a", "1c"], ["1b", "1d"], ], "triangles":[ ["id1:", "id2:", "id3:"], {"groundModel":"metal"}, {"dragCoef":10}, {"group":"MyCar"}, //bottom ["1a", "1b", "1c"], ["1c", "1d", "1a"], //top ["2a", "2b", "2c"], ["2c", "2d", "2a"], //face1 ["1a", "1b", "2b"], ["2b", "2a", "1a"], //face2 ["1b", "1c", "2c"], ["2c", "2b", "1b"], //face3 ["1c", "1d", "2d"], ["2d", "2c", "1c"], //face4 ["1d", "1a", "2a"], ["2a", "2d", "1d"], ], } }
Re: Model Not Confined to Outline Nodes? You need to fix the model origin (should be 0,0,0) Sent from the 3rd galaxy via the talks of tapping
Re: Model Not Confined to Outline Nodes? Now i have an model no longer centered withing the nodes. It's off by half and when i change the position of the nodes, nothing changes.
Re: Model Not Confined to Outline Nodes? What, i said the the model origin(must be set within your modelling program), not the jbeam Sent from the 3rd galaxy via the talks of tapping
Re: Model Not Confined to Outline Nodes? Yeah, i know. I set it to (0, 0, 0). Me being as forgetful as I am, I forgot negative points. Which i added to the JBeam file and now it works like a charm thus far. So now i have the following nodes: Code: ["1a", -0.5, -0.5, 0], ["1b", 0.5, -0.5, 0], ["1c", 0.5, 0.5, 0], ["1d", -0.5, 0.5, 0], ["2a", -0.5, -0.5, 1], ["2b", 0.5, -0.5, 1], ["2c", 0.5, 0.5, 1], ["2d", -0.5, 0.5, 1], Thanks, by the way. Wouldn't have figured that.