pmndrs / ecctrl

🕹️ A floating rigibody character controller
MIT License
530 stars 63 forks source link

I often encounter situations where the model is in free fall. when I do something or when there is no action it falls freely #35

Open TrungLeThanh opened 7 months ago

ErdongChen-Andrew commented 7 months ago

This could be useful for you: https://github.com/pmndrs/ecctrl/issues/26#issuecomment-1881925148 Or you could sleep the character when there is no interaction with the web page

Dukeyeboah commented 5 months ago

I have also experienced similar issues. I wonder if there is a recommended solution for this.

ErdongChen-Andrew commented 5 months ago

@Dukeyeboah , You could find solutions here: https://github.com/pmndrs/ecctrl/issues/26#issuecomment-1881925148 Or you could follow my example app (delaying the physics when app start or putting the character to sleep when there is no interaction)