Skip to content

Fix velocity calculation in shape casting#424

Merged
sebcrozet merged 1 commit into
dimforge:masterfrom
Kyzzsa:patch-1
Jun 7, 2026
Merged

Fix velocity calculation in shape casting#424
sebcrozet merged 1 commit into
dimforge:masterfrom
Kyzzsa:patch-1

Conversation

@Kyzzsa

@Kyzzsa Kyzzsa commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Fixes #423

This pull request makes a correction to the calculation of relative velocity in the cast_shapes function. The change ensures that the velocity difference is computed before applying the rotation, which results in correct relative velocity handling during shape casting.

@sebcrozet

Copy link
Copy Markdown
Member

Good catch, thank you!

@sebcrozet sebcrozet merged commit ef63da4 into dimforge:master Jun 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Strange velocity calculation in shape_cast::cast_shape()

2 participants