From 744587e082bd34723266ee0a91a83056d47f8de0 Mon Sep 17 00:00:00 2001 From: Barinzaya Date: Wed, 16 Apr 2025 15:49:36 -0400 Subject: [PATCH] Added missing allowFastRotation field to box2d.BodyDef. --- vendor/box2d/types.odin | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vendor/box2d/types.odin b/vendor/box2d/types.odin index 1ea7cb65a..0c022fbce 100644 --- a/vendor/box2d/types.odin +++ b/vendor/box2d/types.odin @@ -188,6 +188,10 @@ BodyDef :: struct { // Triggers whenever a shape is add/removed/changed. Default is true. automaticMass: bool, + // This allows this body to bypass rotational speed limits. Should only be used + // for circular objects, like wheels. + allowFastRotation: bool, + // Used internally to detect a valid definition. DO NOT SET. internalValue: i32, }