Skip to content

Conversation

@vincentfretin
Copy link
Member

Replace THREE.Math.degToRad by THREE.MathUtils.degToRad for threejs r141 compatibility (aframe master). Note that this change is still compatible with threejs r125 aframe 1.2.0.
cc @AdaRoseCannon because you use the movement-controls component in aframe-xr-boilerplate.

I also changed it in lib/ColladaLoader.js and in lib/FBXLoader.js but at one point it may be good to recopy the loaders from three/examples/js/loaders/ColladaLoader.js and three/examples/js/loaders/FBXLoader.js. There are maybe some fixes since then, but I don't know it's hard to compare the files.

I didn't test all the components of this repository for threejs r141 compatibility, I fixed just the error I saw in the console with movement-controls component included in a project.

…141 compatibility (but still compatible with threejs r125 aframe 1.2.0)
@AlbertoElias
Copy link

It would be great to get this merged. I currently dependon aframe master and aframe-extras no longer works. Thanks!

@vincentfretin
Copy link
Member Author

This PR is merged in the community fork #5

@vincentfretin
Copy link
Member Author

The changes are now also in this repo.

@vincentfretin vincentfretin deleted the threejs-r141 branch November 4, 2022 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants