Turn on recovery as collisions only for floor snapping as this leads to unwanted behaviour for other surface than the floor.

This commit is contained in:
fabriceci
2022-08-22 13:38:57 +02:00
parent e5594c26b1
commit 10395f5df2
4 changed files with 6 additions and 12 deletions

View File

@ -490,7 +490,7 @@ public:
bool collide_separation_ray = false;
HashSet<RID> exclude_bodies;
HashSet<ObjectID> exclude_objects;
bool recovery_as_collision = false;
bool recovery_as_collision = false; // Don't report margin recovery as collision by default, only used for floor snapping.
MotionParameters() {}