editor icon indicating copy to clipboard operation
editor copied to clipboard

Radius of capsule collision gives unexpected result

Open albertvanveen opened this issue 4 years ago • 3 comments

Description

When the radius of a capsule collision is higher than half the height, the capsule collision no longer works as expected. I already spoke to Steven about it and he explained why the result is expected. However, as it is unexpected for a regular user, a warning or limitation in the editor would be desirable.

Example

In the example below, both entities have a dynamic rigidbody, the left entity works as expected, but the right entity gives a unexpected result because the radius is apparently to high, so that the height of the collision is no longer correct.

image image

albertvanveen avatar Jan 02 '22 21:01 albertvanveen

This also seems to apply to a lower radius both in height and width.

albertvanveen avatar Apr 26 '22 12:04 albertvanveen

New related forum topic: https://forum.playcanvas.com/t/default-capsule-collider-bug/36082

albertvanveen avatar Jun 18 '24 14:06 albertvanveen

Related: https://github.com/playcanvas/editor/issues/1114

LeXXik avatar Jun 18 '24 15:06 LeXXik