I'm experiencing an issue, which I assume is coding related, where a modded vehicle will ascend into the sky immediately upon spawning. Pausing physics does not correct the issue, and if I spawn a different car, it starts however high up I got with the bugged vehicle. This primarily happens when I'm messing around with jbeam, and I'm sure it's my own fault, but I would like to figure out specifically what causes it. For example, I'm going through MorzBNG's modding tutorial and have followed his steps up to a point where he has nodes and beams created for a triangle. In the video, he spawns in the triangle and can interact with it etc. However in my game, I rapidly ascend into the sky. If anyone can help pinpoint what is causing this I would really appreciate it. My jbeam reads as follows: { "tutorial": { "information":{ "authors":"Anolen95", "name":"tutorial", }, "slotType" : "main", "slots": [], "refNodes": [ ["ref:", "x:", "y:", "y:"], ["tc", "tx", "ty", "tz"], ], "nodes": [ ["id", "posX", "posY", "posZ"], {"nodeWeight": 10}, {"nodeMaterial": "|NM_Metal"}, {"collision": true}, {"selfCollision": false}, ["tc", 0, 0, 0], ["tx", 1, 0, 0], ["ty", 0, 1, 0], ["tz", 0, 0, 1], ], "beams": [ ["id1:", "id2:"], {"beamSpring": 430000}, {"beamDamp": 400}, {"beamDeform": 400}, {"beamStrength": FLT_MAX}, ["tc", "tx"], ["tc", "ty"], ["tc", "tz"], ["tx", "ty"], ["ty", "tz"], ["tz", "tx"], ], }, }
Please follow the tutorial exactly, Jbeam is EXTREMELY sensitive to syntax errors, pay really close attention to all of the quotation marks and which letters are uppercase and which lowercase.
Agree with AgentY here, I was stuck on this tutorial for a while too at some point, but then I think it was a missing end bracket or something like that. I found it and it worked fine --- Post updated --- Found it! In refNodes, y is referred to twice instead of y and z --- Post updated --- Also it’s ["ref:", "left:", "back:", "up:"], not x, y and z.