Hello
I have a strange bug with applying explosions with certain collision filters
BelongsTo: Blocks
CollidesWith: Everything (Except Blocks)
The following code doesn’t work when the filter is set to the above
if (Input.GetKeyDown(KeyCode.Space))
{
Entities.WithBurst().ForEach((ref PhysicsVelocity velocity,
in PhysicsCollider collider, in PhysicsMass mass,
in Translation position, in Rotation rotation) =>
{
velocity.ApplyExplosionForce(
mass, collider, position, rotation,
1000, new float3(0, -1, 0), 20,
deltaTime, up);
}).ScheduleParallel();
}
If i change CollidesWith: Everything then it works fine…
Is this a bug or am i missing something?