Add target parameter to Vector and Rotation
I noticed it's not possible to get the rotation/translation of a Collider without allocating a new Vector or Rotation object. Now you can provide an object that implements Vector or Rotation such as THREE.Vector3 or THREE.Quaternion and those methods will write values from the RawVector/RawRotation to the provided objects.
Also, I was having some issues getting set up to build the libraries so I haven't been able to test this yet.
I have wasm-pack and typedoc installed and the latest version of Rust. I'd like to be able to build the compat versions of the library and link them into my project to test.
Thank you for this PR! Adding these optional object arguments is a great idea.
Could you please rebase your work on the master branch? I merged a PR today that adds CI for ubuntu and macos.
You may take a look at what the CI does for building rapier and rapier-compat.