Cylinders do not collide with each other or capsules

50 views
Skip to first unread message

Anthony Walter

unread,
Mar 14, 2025, 4:06:02 AMMar 14
to ode-users
Using the most recent release ode-0.16.6 and also checking back to release ode-0.16.3, the same problem appears in each. The problem is that while cylinder shapes dCreateCylinder collide correctly with planes, boxes, and spheres, they pass completely through other cylinders. The also pass through capsules dCreateCapsule. Capsules, however, do collide with each other and other shapes that are not cylinders.

I could not find this issue on any bug tracker, but am confident you regulars know about this issue. Are there any plans to fix this and what is the history with this problem?

Oleh Derevenko

unread,
Mar 14, 2025, 4:07:52 AMMar 14
to ode-...@googlegroups.com
Hi Anthony,

You need to enable libccd while configuring the library for the cylinder collisions to work.

Oleh Derevenko

-- Skype with underscore

 



From: ode-...@googlegroups.com on behalf of Anthony Walter
Sent: Friday, March 14, 2025 5:19
To: ode-users
Subject: [ode-users] Cylinders do not collide with each other or capsules

You don't often get email from sys...@gmail.com. Learn why this is important
Using the most recent release ode-0.16.6 and also checking back to release ode-0.16.3, the same problem appears in each. The problem is that while cylinder shapes dCreateCylinder collide correctly with planes, boxes, and spheres, they pass completely through other cylinders. The also pass through capsules dCreateCapsule. Capsules, however, do collide with each other and other shapes that are not cylinders.

I could not find this issue on any bug tracker, but am confident you regulars know about this issue. Are there any plans to fix this and what is the history with this problem?
--
You received this message because you are subscribed to the Google Groups "ode-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ode-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ode-users/b614c8da-d955-4213-b3f8-c3a9893be819n%40googlegroups.com.



This e-mail may contain privileged and confidential information. If you are not the intended recipient, be aware that any use, disclosure, copying or distribution of this e-mail or any attachments is prohibited. If you have received this e-mail in error, please notify us immediately by returning it to the sender and delete this copy from your system. Thank you.

Anthony Walter

unread,
Mar 14, 2025, 1:47:08 PMMar 14
to ode-...@googlegroups.com
Thank you, that fixed the problem.

cmake .. -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DODE_DOUBLE_PRECISION=OFF -DODE_WITH_LIBCCD=ON

Is there any downside to using libccd other than licensing and are there any other side effects to using it?

Oleh Derevenko

unread,
Mar 15, 2025, 8:42:55 AMMar 15
to ode-...@googlegroups.com
From: ode-...@googlegroups.com on behalf of Anthony Walter
Sent: Friday, March 14, 2025 19:46
To: ode-...@googlegroups.com
Subject: Re: [ode-users] Cylinders do not collide with each other or capsules

You don't often get email from sys...@gmail.com. Learn why this is important
Thank you, that fixed the problem.

> cmake .. -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DODE_DOUBLE_PRECISION=OFF -DODE_WITH_LIBCCD=ON

I would suggest you enable the double precision. There is no reason to perform spatial computations with single precision these days.


> Is there any downside to using libccd other than licensing and are there any other side effects to using it?

It provides collision alternative check functions for cylinders and convex shapes. Most of these are available with the libccd only



Oleh Derevenko

-- Skype with underscore

 






Reply all
Reply to author
Forward
0 new messages