I need help

Post Reply
olyly94
Posts: 1
Joined: Mon Sep 17, 2018 4:05 am

I need help

Post by olyly94 »

Hello,

It seems there is a limit of the angular velocity, specifically, 100 rad/s. Using applyExternalTorque(), the angular velocity at first increases correctly but then is capped once 100 is reached. Alternatively, I can set a value directly with resetBaseVelocity - which at first glance works fine (getBaseVelocity returns the same vector), but de facto physics corresponds to 100 rad/s again, as is seen both in the visualization and actual interactions, e.g., of the rotating body with a surface.

I haven't found any mention of this in the docs - nor a way to raise this limit. Any pointers?
User avatar
drleviathan
Posts: 849
Joined: Tue Sep 30, 2014 6:03 pm
Location: San Francisco

Re: I need help

Post by drleviathan »

Yes, the angular velocity is capped for safety. Yes, you can change it. This thread has the info you seek.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: I need help

Post by Erwin Coumans »

Let's expose an API to override the safety setting. See https://github.com/bulletphysics/bullet3/issues/1890
Post Reply