Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soft bodies elicit a collision response from sensors #877

Closed
mihe opened this issue Jan 16, 2024 · 1 comment
Closed

Soft bodies elicit a collision response from sensors #877

mihe opened this issue Jan 16, 2024 · 1 comment

Comments

@mihe
Copy link
Contributor

mihe commented Jan 16, 2024

It seems like soft bodies currently elicit a collision response (i.e. are deformed) when coming in contact with sensors, as if the sensors were regular rigid bodies.

SoftBodiesVsSensors.mp4

Easy enough to filter out yourself with layers or a group filter, but I figured you might want to know since it seemed like a bug.

Just add this to SoftBodyShapesTest::Initialize() to reproduce the issue:

BodyCreationSettings area(new BoxShape(Vec3(50, 1, 50)), Vec3(0, 5, 0), Quat::sIdentity(), EMotionType::Kinematic, Layers::MOVING);
area.mIsSensor = true;
mBodyInterface->CreateAndAddBody(area, EActivation::Activate);
@jrouwe jrouwe closed this as completed in 0f35978 Jan 16, 2024
@jrouwe
Copy link
Owner

jrouwe commented Jan 16, 2024

This is a mistake indeed. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants