mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Merge pull request #5044 from Barinzaya/box2d-missing-allowfastrotation
Add missing field in box2d.BodyDef
This commit is contained in:
Vendored
+4
@@ -188,6 +188,10 @@ BodyDef :: struct {
|
|||||||
// Triggers whenever a shape is add/removed/changed. Default is true.
|
// Triggers whenever a shape is add/removed/changed. Default is true.
|
||||||
automaticMass: bool,
|
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.
|
// Used internally to detect a valid definition. DO NOT SET.
|
||||||
internalValue: i32,
|
internalValue: i32,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user