Search Issue Tracker

Active

Under Consideration for 6000.3.X, 6000.4.X

Votes

0

Found in

6000.3.0a5

6000.4.0a1

6000.5.0a1

Issue ID

UUM-124692

Regression

No

Creating a PhysicsShape using CapsuleGeometry with small/zero length creates a circle instead.

-

Although by design, when a CapsuleGeometry with a zero or near-zero length is used to create a PhysicsShape, a Circle shape type is created instead as a capsule with a small/near-zero length is degenerate and could cause simulation issues. This is part of Box2D however it is causing confusion and can be unexpected so is being removed.

A capsule should always be created however the capsule geometry used will be internally clamped to a minimum value of 0.001 (1 mm).

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.