frag

Results 27 comments of frag

I made the ball collide with the ground and it crashes Please find it here https://github.com/fgadaleta/herontest

That also happens in 3D where there should be a volume already. For the record, this crashes too: ``` commands .entity(entity) .insert_bundle((transform, GlobalTransform::default())) .insert(RigidBody::Dynamic) .insert(CollisionShape::Sphere { radius: 2.7 }) .insert(PhysicMaterial...

> I see [here](https://github.com/fgadaleta/herontest/blob/main/Cargo.toml#L27) that you are using the 3d version. > > But that example is a 2d example that creates collision shapes without any depth: > > *...

In my example I spawn a dynamic body like so: ``` commands .entity(entity) .insert_bundle((transform, GlobalTransform::default())) .insert(RigidBody::Dynamic) .insert(CollisionShape::Cuboid { half_extends: Vec3::new(1., 1., 1.), border_radius: Some(1.), }) .insert(PhysicMaterial { restitution: 0.7, density:...

> > That also happens in 3D where there should be a volume already. For the record, this crashes too: > > This is only the ball, you also need...

> > Collision is logged but ball disappears from screen (without actually colliding). > > Due to the fast angular velocity, the body gets moved along the z-axis. I am...

Absolutely. Check https://gitlab.com/fgadaleta/bevy_experiment (gltf included from LFS) If you just `cargo run` you will see it crashes. If you change `src/world/level1.rs:1148` to `RigidBody::Static` it will run. Let me know if...

> Please submit a minimal buildable code that reproduces the error. https://pastebin.com/X5CZebK0 Basically, I wrap a `DDSInner` into a `DDS` struct that i can initialize with `new()` and loop over...

any update on the generic histogram (f64 and negative values)?

I built [histo_fp](https://crates.io/crates/histo_fp) for int and float samples (and buckets) Check it out