Open APerricone opened 1 year ago
it is strange, If I call only sleep the rigid body stops, but If I try to move it it wake up without possibility of keep it asleep
I'm having the same issue. I'm not able to find a way of repositioning a rigid body and setting it to sleep on the same frame.
The work around I've been doing is moving the rigid body off screen and then calling .sleep()
on it in a setTimeout
. I still find I have to make sure the sleeping objects don't get moved into the same position off screen because then they wake each other up again.
I'm using 0.11.2
Would love a solution for this.
Hi, In my project I would like reuse some rigid body, so stop them, move and sleep, I tried with:
But it is still awake. It is TypeScript but I think the same issue is present with javascript and rust. I am using the 0.11.1