Hey guys, I'm having some troubles with this nodeoffset function. I've tried lots of things but I can't get it to work. It can be basically be categorized in four issues: 1) selecting a part which has a nodeoffset slot moves the n/b of the car 2) having a nodeoffset slot enabled even moves parts around. The taillights in this case are a simple near empty jbeam, only containing spotlight functions and meshes. No nodes or beams. The rear end of this limousine is identical (but moved) compared to the sedan, so using the rear parts of the sedan should be ideal for the nodeoffset function. 3) also a bit similar, this one even reshapes the entire car n/b into a cube 4) A weird mesh behaviour depending on the nodeoffset values (it seems). I'm busy separating my trailers into one package such that they can be used on every vehicle. The haywagon behaves weird; when adding it to the Pickup (nodeoffset is 0,0,0) the n/b seems fine, but the mesh of the frame is moved. This shouldn't be (checked in blender, the parts are at 0,0,0). Anyway, I moved the mesh in the jbeam so that it fits the n/b. Selecting the new ETK with towhitch and this trailer somehow moves things around again. The dual axle small trailer which I also have behaves correctly. Is there anything I might have overlooked or is there some problem with the function? I've read http://www.beamng.com/threads/problem-with-nodeoffset.19040/#post-294118 But this doesn't seem to be the case.
had something similar too. i fixed it by adding , {"nodeOffset":""} to all the slots besides and above it.
Yeah, nodeOffset is kinda funky and needs to be reset to "" after being set somewhere. It's all explained on the wiki page: http://wiki.beamng.com/NodeOffset
["steelwheel_01a_15x8", ["wheel_RR","wheelhub_RR"], [], {"pos":{"x":-0.52, "y":0.0, "z":0.0}, "rot":{"x":0, "y":0, "z":180}, "scale":{"x":1, "y":1, "z":1}}], {"nodeOffset":{"x":"$trackwidth_R", "y":1.25, "z":0.288}}], Is this the correct way to put node offset correctly? Thanks.
nodeOffset isn't a flexbody property, it's a node/slot property. So it has to be set inline in the slots section.
Hey, thanks for the help, it fixed most of the problems I had. Besides adding ,{"nodeOffset":""}], to every slot, I had to add {"nodeOffset":{"x":0,"y":0,"z":0}}, to the node section of both the body and the tow hitch jbeam to have the fullsize station function properly in combination with the tow hitch. Issue four was actually a corrupt .dae, I exported it again and replaced it and the problem was gone. I still had some issues, but playing along I found out that: - there shouldn't be a ,{"nodeOffset":""}], in the trailer slots (it moves the trailer parts back to the initial position ) - there should be a 'mesh offset' (set to zero in this case; ["mesh_name", ["mesh_group1","mesh_group2"], [], {"pos":{"x":0.0, "y":0.0, "z":0.0}, "rot":{"x":0, "y":0, "z":0}, "scale":{"x":1, "y":1, "z":1}}],) such that the mesh can move. Otherwise the mesh will be stuck in the initial position. If the devs can confirm this it might be put into the wiki page? Thanks for all the help
We just fixed that - no need to specify that anymore, it was a horrible bug ... will be in the next update.