Repository navigation
Plugins 4/12: Bepu hull assets in Stride.BepuPhysics.Assets - #3539
Merged
Merged
Conversation
Contributor
|
🤖 Draft PR — automatic CI is skipped to save runner minutes.
|
xen2
marked this pull request as ready for review
October 10, 2026 07:50
xen2
force-pushed
the
feature/plugins/4-bepu
branch
from
October 10, 2026 09:08
5d3b37c to
b6d06a1
Compare
xen2
force-pushed
the
feature/plugins/4-bepu
branch
from
October 12, 2026 23:48
b6d06a1 to
408bc78
Compare
xen2
force-pushed
the
feature/plugins/4-bepu
branch
2 times, most recently
from
October 13, 2026 09:22
96110f4 to
b2c51b3
Compare
xen2
force-pushed
the
feature/plugins/4-bepu
branch
from
October 13, 2026 10:43
b2c51b3 to
26808d7
Compare
This was referenced Oct 13, 2026
xen2
force-pushed
the
feature/plugins/4-bepu
branch
from
October 14, 2026 09:20
26808d7 to
8ec58e7
Compare
ConvexHullMesh is public, shared by the asset packages that decompose hulls, with its own fill mode enum (ConvexDecompositionFillMode); it loads its native library in its static constructor.
…sics.Assets, declared as the runtime package's Assets companion The hull's fill mode is the package's own enum, so it does not depend on Stride.Physics; the compiler excludes every texture asset type from its inputs; Stride.BepuPhysics contains asset types (StrideContainsAssetTypes); Stride.Assets, Stride.AssetCompiler and Stride.Editor.Wpf no longer reference Bepu.
xen2
force-pushed
the
feature/plugins/4-bepu
branch
from
October 14, 2026 16:17
8ec58e7 to
ed471ea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first built-in feature moved to the plugin shape: the Bepu hull asset, its compiler and its template go to
Stride.BepuPhysics.Assets, declared byStride.BepuPhysics.The V-HACD wrapper, used by both Bepu and Bullet hulls, moves to its own
Stride.Assets.VHACDpackage.Stride.BepuPhysicsStride.BepuPhysics.AssetsStride.Assets.VHACDBepu has no Game Studio parts yet, so no Editor package.
Most of the diff is moved files. The changes besides the move:
Changes
Stride.Physics.Stride.Assetsdependency: the hull compiler finds texture asset types through the registry instead of naming them.Naming (later)
The package and namespace names stay as they are in this PR. The physics plugins may be renamed in a separate step later, so that Bepu and Bullet have names that match, Bullet's with "Bullet" in it (#3541).
Impact on games and plugins
Stride.BepuPhysics: nothing to do..sdhullfiles gets aStride.BepuPhysicsreference if it has none (PR 3).Testing
Stride.BepuPhysics.Assets, with a typed URL constant.