Skip to content

Commit ec319b0

Browse files
committed
Add prop-node 'rotate' (quaternion) and globals-node 'gravity' attrs from public PR #959 (wire-safe, scene-v1 protocol 42); simplify kick-vote vote-count logic.
1 parent 9998055 commit ec319b0

6 files changed

Lines changed: 41 additions & 37 deletions

File tree

.efrocachemap

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### 1.8.0 (build 22973, api 9, 2026-08-12)
1+
### 1.8.0 (build 22974, api 9, 2026-08-12)
22
- Fully implemented asset packages (more on this soon)
33
- Upgraded to Python 3.14. This gives us a few nice useful bits such as zstd
44
compression to help speed up online stuff and also means we can get rid of all
@@ -22,6 +22,11 @@
2222
placed and oriented instead of being stuck wherever its mesh was authored.
2323
Rendering, collision, and bg-dynamics (debris/smoke/shadows) all follow.
2424
Note that this bumps the scene-v1 protocol to 41 (thanks vishal332008!)
25+
- Prop nodes now have a `rotate` attr — a `(w, x, y, z)` quaternion that can
26+
be read (live body orientation) or written, including before the body
27+
exists to set a custom starting orientation. Globals nodes gain a
28+
`gravity` attr for per-scene gravity control (moon maps, wind, zero-g).
29+
This bumps the scene-v1 protocol to 42 (thanks vishal332008!)
2530
- Renamed the `BaStdAssets` asset package to `BaClassicAssets`; its client
2631
wrapper modules are now `bauiv1.classicassets` / `bascenev1.classicassets`
2732
(previously `stdassets`).

pconfig/projectconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"bauiv1lib": "buil"
2424
},
2525
"efrocache_repository_url": "https://files.ballistica.net/cache/ba1",
26-
"engine_build_number": 22973,
26+
"engine_build_number": 22974,
2727
"name": "BallisticaKit",
2828
"public": true,
2929
"python_paths": [
@@ -43,5 +43,5 @@
4343
"tests",
4444
"config"
4545
],
46-
"version": "1.8.0a81"
46+
"version": "1.8.0a82"
4747
}

src/assets/ba_data/python/baenv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555

5656
# Build number and version of the ballistica binary we expect to be
5757
# using.
58-
TARGET_BALLISTICA_BUILD = 22973
59-
TARGET_BALLISTICA_VERSION = '1.8.0a81'
58+
TARGET_BALLISTICA_BUILD = 22974
59+
TARGET_BALLISTICA_VERSION = '1.8.0a82'
6060

6161

6262
@dataclass

src/ballistica/scene_v1/node/globals_node.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,7 @@ void GlobalsNode::SetGravity(const std::vector<float>& vals) {
444444
throw Exception("Expected float array of size 3 for gravity",
445445
PyExcType::kValue);
446446
}
447-
dWorldSetGravity(scene()->dynamics()->ode_world(), vals[0], vals[1],
448-
vals[2]);
447+
dWorldSetGravity(scene()->dynamics()->ode_world(), vals[0], vals[1], vals[2]);
449448
}
450449

451450
void GlobalsNode::SetAllowKickIdlePlayers(bool val) {

src/ballistica/shared/ballistica.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ auto main(int argc, char** argv) -> int {
5151
namespace ballistica {
5252

5353
// These are set automatically via script; don't modify them here.
54-
const int kEngineBuildNumber = 22973;
55-
const char* kEngineVersion = "1.8.0a81";
54+
const int kEngineBuildNumber = 22974;
55+
const char* kEngineVersion = "1.8.0a82";
5656
const int kEngineApiVersion = 9;
5757

5858
#if BA_MONOLITHIC_BUILD

0 commit comments

Comments
 (0)