Physics and debugging

Physics

Happy new year everyone! We are very busy here putting nodes and beams together, but now for a little update:

We are spending quite some time to tune and fix the physics, so we wrote some handy debug mode that helps modders to see whats going on under the hood for their creation. So that’s how it looks like atm:

This is the current screen layout for the debug modes, it is completely scripted in lua and one can add more features very easily. This is debug mode 1 which shows the node/beam skeleton plus some more info. There are more debug modes currently (subject to change):

3: node numbers

4: node names plus the collision properties

6: node weights: very nice to debug the weight distribution, will add a CoG later on in this one.

function debugDraw(debugDrawer)
    if debugMode == 6 then
        debugDrawer:drawBeams(false)
        for k, node in pairs (v.data.nodes) do
            col = color(0,0,0,255)
            if node.debugDraw == nil or node.debugDraw == true then
                col.r = 255 - (node.nodeWeight * 5)
                col.g = col.r
                col.b = col.r
                debugDrawNode(debugDrawer, col, node, tostring(node.nodeWeight).."kg")
            end
        end
    end
end

7: node materials display: shows the materials that the node uses for effects

More to come

Physics

BeamNG Major Updates

Festive Freight in BeamNG.drive v0.31
BeamNG.drive v0.31 release highlights
Gear Up for Fall Adventures in BeamNG.drive v0.30
BeamNG.drive v0.30 release highlights
Gambler 500 x BeamNG.drive - v0.29
BeamNG.drive v0.29 release highlights
Spring Renovations - BeamNG.drive v0.28
BeamNG.drive v0.28 release highlights
Conquer the desert in v0.27
BeamNG.drive v0.27 release highlights
BeamNG.drive v0.26 - Covet the Moment
BeamNG.drive v0.26 release highlights
BeamNG.drive v0.25 - Spark Your Passion
BeamNG.drive v0.25 release highlights
Festive Update v0.24.1 Released
BeamNG.drive v0.24.1 release highlights
The 2021 Winter Release – BeamNG.drive v0.24
BeamNG.drive v0.24 release highlights
The 2021 Summer Release – BeamNG.drive v0.23
BeamNG.drive v0.23 release highlights
The 2021 Spring Release – BeamNG.drive v0.22
BeamNG.drive v0.22 release notes
The 2020 Winter Release – BeamNG v0.21
BeamNG.drive v0.21 release notes
The 2020 Summer Release – BeamNG v0.20
BeamNG.drive v0.20 release notes
“La Vie à Toute Vitesse” – BeamNG.drive v0.19
BeamNG.drive v0.19 release notes
The 2019 Winter Release – BeamNG.drive v0.18
BeamNG.drive v0.18 release notes
Buckle up, heavy traffic ahead: Update 0.17 released
BeamNG.drive v0.17 release notes
Electrifying 0.16
BeamNG.drive v0.16 release notes
A Small Car on a Big Map – Version 0.15 released
BeamNG.drive v0.15 release notes
Light Runner – Version 0.14 Released
BeamNG.drive v0.14 release notes
The Automation Collaboration – Version 0.13 Released
BeamNG.drive v0.13 release notes