Simplify rotation handling in collision casting

This commit is contained in:
2026-04-11 18:35:45 +02:00
parent 2bd4fea8eb
commit b040c832b2

View File

@@ -578,12 +578,7 @@ export class RapierCollisionWorld {
const hit = this.world.castShape( const hit = this.world.castShape(
pivot, pivot,
{ IDENTITY_ROTATION,
x: 0,
y: 0,
z: 0,
w: 1
},
delta, delta,
new RAPIER.Ball(radius), new RAPIER.Ball(radius),
0, 0,