Skip to content

Fix jME math API usage in physics joints - #1253

Closed
AlexisDrogoul wants to merge 1 commit into
mainfrom
Physics-Joints
Closed

AlexisDrogoul wants to merge 1 commit into
mainfrom
Physics-Joints

Conversation

@AlexisDrogoul

Copy link
Copy Markdown
Member

Follow-up to #748: use Matrix3f.mult(m, store) and Quaternion.toRotationMatrix().mult(v, store), which are the signatures available in Libbulletjme 21.2.1 (fixes compilation errors in NativeBulletPhysicalWorld and GamaJoint).

Copilot AI balanced review requested due to automatic review settings October 8, 2026 17:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The replacements match the bundled jME API signatures while preserving the intended transformations.

0 open findings

What changed in this PR

Updates physics joint math calls to match Libbulletjme 21.2.1 APIs and restore compilation.

Changes:

  • Uses destination-parameter matrix multiplication overloads.
  • Converts quaternions to rotation matrices before transforming vectors.
File Description
NativeBulletPhysicalWorld.java Updates joint-frame matrix multiplication.
GamaJoint.java Updates slider translation and axis transformations.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@AlexisDrogoul
AlexisDrogoul deleted the Physics-Joints branch October 8, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants