ssatguru / BabylonJS-CharacterController

A CharacterController for BabylonJS
Apache License 2.0
215 stars 46 forks source link

How to destroy? #52

Open ShareQiu1994 opened 2 years ago

ShareQiu1994 commented 2 years ago

api only stop methods? hot to destory?

ssatguru commented 2 years ago

@ShareQiu1994 Currently there is no api to destroy. Did you notice any memory leak? Anyway, I will look into this .

sirkrouph-dev commented 2 years ago

@ssatguru, i believe i have encountered a memory leak, while falling from the top of any model, the FPS drops almost by half and never recovers

dad72 commented 1 year ago

For my part, I did not notice this problem after trying to fall from any mesh. I stay at 60 fps. I think your problem comes from memory leaks from elsewhere.