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 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
Get Busy – version 0.12 released
BeamNG.drive v0.12 release notes
Alpha version 0.11 – The Coast is Clear
BeamNG.drive v0.11 release notes
Sounds like version 0.10 is out!
BeamNG.drive v0.10 release notes
Hopping into 0.9
BeamNG.drive v0.9 release notes
Version 0.8 rolling in …
BeamNG.drive v0.8 release notes
Alpha version 0.7 released :)
BeamNG.drive v0.7 release notes
Version 0.6 released
BeamNG.drive v0.6 release notes