ammojs-typed icon indicating copy to clipboard operation
ammojs-typed copied to clipboard

Reallocate a new instance in constructor

Open sancelot opened this issue 4 years ago • 1 comments

I have a class that manages the collides , but each time I am using it, I have to reallocate a new instance of ammojs because the scene is a new different one.

How can I proceed in my constructor ???

sancelot avatar Feb 17 '21 16:02 sancelot

i think this kind of question is best answered in the official repository https://github.com/kripken/ammo.js/

giniedp avatar Feb 17 '21 16:02 giniedp