This repository has been archived by the owner on Nov 29, 2022. It is now read-only.
zero-length normals during RigidBody::Sensor collision detection #240
Labels
bug
Something isn't working
The normals vector is of 0 length when detecting a collision between Sensors.
This works fine for RigidBody::Dynamic, but for my particular use case I cannot interact with the other simulated bodies.
Here is a repository with an (hopefully minimal enough) example: https://github.com/cark/HeronMissingNormals
Code reproduced here:
Notice the collision_detection function, I log the length of the normal vectors there.
What i hoped to see in the console:
What i actually see:
I guess I could extract those normals by querying the global transforms of the entities. But I think this might be a bug, so here I am, reporting it.
The text was updated successfully, but these errors were encountered: