Trimesh dynamics gets very slow in meters

Post Reply
www20602
Posts: 4
Joined: Thu Jun 27, 2019 12:28 pm

Trimesh dynamics gets very slow in meters

Post by www20602 »

I am running physics for meshes. When using millimeter as the metrics, my frame rate reaches 60fps. But when I change them to meters, the number lowers down to 1fps or less. I am wondering if I did a wrong option.

Figures below:
Meter, slow:
7bb5a4e30dc9b618c5db72f0e263602c93efb346.gif
7bb5a4e30dc9b618c5db72f0e263602c93efb346.gif (354.75 KiB) Viewed 2267 times
Millimeter, fast:
c57bd3b755b51e9bafc3f2e2822ee98a2f4c5bd9.gif
c57bd3b755b51e9bafc3f2e2822ee98a2f4c5bd9.gif (428.4 KiB) Viewed 2267 times
Also, when using direct ContactTestPair,
I got weird contact points even when two meshes are fully separated, as shown below.
7eaf3386de7027afb0fbbe22d219c9084f4a335b.png
7eaf3386de7027afb0fbbe22d219c9084f4a335b.png (10.42 KiB) Viewed 2267 times
These weird contact points gets disappears as I increase the metrics (i.e. meter to mm).
I have been struggling with this problem for months, and hope I could find a solution here.

Thanks.
Post Reply