You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Rapier 0.11.2 I'm currently trying to understand why my Rigidbodies don't fall asleep (or rather: continuously wakeup)
From reading the changelogs I found that there's something like an activation force for e.g. linvel - this doesn't seem to exist in the javascript API tho.
Is there a way to explictly set a threshold for the rigidbody when to fall asleep?
furthermore setting the translation or rotation on a collider seems to wakeup rigidbodies that are in contact with the collider (even if the collider hasn't changed it's position). When I add an extra check to only call setTranslation if the position has actually changed the Rigidbody does also sleep. Is this expected? Is there a way to prevent having to manually doing this check?
The text was updated successfully, but these errors were encountered:
Hello,
using Rapier 0.11.2 I'm currently trying to understand why my Rigidbodies don't fall asleep (or rather: continuously wakeup)
From reading the changelogs I found that there's something like an activation force for e.g. linvel - this doesn't seem to exist in the javascript API tho.
Is there a way to explictly set a threshold for the rigidbody when to fall asleep?
furthermore setting the translation or rotation on a collider seems to wakeup rigidbodies that are in contact with the collider (even if the collider hasn't changed it's position). When I add an extra check to only call
![image](https://private-user-images.githubusercontent.com/5083203/293467785-59025f40-373a-456e-9763-3594afa59b5d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMDg2NTQsIm5iZiI6MTcyNDMwODM1NCwicGF0aCI6Ii81MDgzMjAzLzI5MzQ2Nzc4NS01OTAyNWY0MC0zNzNhLTQ1NmUtOTc2My0zNTk0YWZhNTliNWQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjJUMDYzMjM0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZTBkOWUwY2FjNGZkMzUzM2UwZjc5YmZlMzg4NDdjNTk5YTU1Yzg0ZTI3NWZhNDA1OTcyNzM1ZjdkYjBjYTJlZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.TzSUMMa6hctjaBRwQ3BBS_LRjsmMAOI8aOTcMo8HGXE)
setTranslation
if the position has actually changed the Rigidbody does also sleep. Is this expected? Is there a way to prevent having to manually doing this check?The text was updated successfully, but these errors were encountered: