dimforge / rapier

2D and 3D physics engines focused on performance.
https://rapier.rs
Apache License 2.0
3.91k stars 244 forks source link

RigidBodyActivation::cannot_sleep() does not work #311

Closed nkzawa closed 2 years ago

nkzawa commented 2 years ago

When it's activated, the struct looks like the following:

RigidBodyActivation {
  linear_threshold: -1.0,
  angular_threshold: -1.0,
  time_since_can_sleep: 2.0,
  sleeping: true
}

rapier3d, version 0.12.0-alpha.1 (bevy_rapier3d 0.12.1)

sebcrozet commented 2 years ago

Fixed in Rapier v0.12.0 (non-alpha version). Please reopen if the problem persists.