Skip to content

fix: Bepu transformation for bodies children of bodies#3013

Merged
Eideren merged 1 commit intostride3d:masterfrom
Eideren:bepu_children
Jan 11, 2026
Merged

fix: Bepu transformation for bodies children of bodies#3013
Eideren merged 1 commit intostride3d:masterfrom
Eideren:bepu_children

Conversation

@Eideren
Copy link
Collaborator

@Eideren Eideren commented Dec 16, 2025

PR Details

A previous mistake in how the logic was setup caused hierarchy like the following:

MyEntity 
{ 
   Components: { BodyComponent }
   Children:
   {
      MyChildEntity { Components: { BodyComponent } }
   }
}

To throw, this change fixes that while removing some overhead with an unnecessary loop in SyncTransformsWithPhysics and dispatching a batched job instead of the per instance delegate call.

Related Issue

None reported on github.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

@Eideren Eideren marked this pull request as ready for review December 16, 2025 17:33
@Eideren Eideren merged commit 12c8b25 into stride3d:master Jan 11, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant