@absolutejs/rapier3d 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -632,6 +632,23 @@ export declare class Collider {
632
632
  * @returns `null` if the shapes are separated by a distance greater than prediction, otherwise contact details. The result is given in world-space.
633
633
  */
634
634
  contactCollider(collider2: Collider, prediction: number, target?: ShapeContact): ShapeContact | null;
635
+ /**
636
+ * Queries the two native shapes at their current parent-body poses without stepping
637
+ * the world or propagating body poses into the collider set. Includes each collider's
638
+ * local translation and rotation; parentless colliders use their stored world pose.
639
+ *
640
+ * Useful for explicit diagnostics after body edits, when contactCollider and stored
641
+ * manifolds may still refer to the previous collider poses. This is an allocating shape
642
+ * query, not a solver contact, continuous sweep, or authored-material penetration bound.
643
+ * Collision filters, hooks, and contact skin are not applied. The result is world-space.
644
+ * A null result can also indicate an unsupported native shape pair; it is not a proof
645
+ * that arbitrary compound or authored material is disjoint.
646
+ *
647
+ * @param prediction - Finite nonnegative prediction distance in world length units.
648
+ * @param target - Optional reusable result object.
649
+ */
650
+ contactColliderAtCurrentBodyPoses(collider2: Collider, prediction?: number, target?: ShapeContact): ShapeContact | null;
651
+ private currentBodyPose;
635
652
  /**
636
653
  * Find the closest intersection between a ray and this collider.
637
654
  *
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@absolutejs/rapier3d",
3
- "version": "0.4.0",
4
- "description": "Rapier 3D with solver-contact diagnostics and validated contact-policy controls",
3
+ "version": "0.5.0",
4
+ "description": "Rapier 3D with current-body shape queries and solver-contact diagnostics",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {