Simplify rotation handling in collision casting
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user