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(
pivot,
{
x: 0,
y: 0,
z: 0,
w: 1
},
IDENTITY_ROTATION,
delta,
new RAPIER.Ball(radius),
0,