You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue shown in the test project above is still valid in the current master branch.
To be more explicit about the issue, it appears that setting a rotation of (0, 80, 0) in the editor-defined CollisionShape works as expected (rotates counter-clockwise by +80° around the Y+ axis), but the equivalent code does not work as expected:
#trans.basis = trans.basis.rotated(Vector3(0, 1, 0), deg2rad(80)) # It should be this
trans.basis = trans.basis.rotated(Vector3(0, 1, 0), deg2rad(-80)) # But must negative angle...
I create CollsionObject from code and add CollisionShape to it, I rotate collision shape but it worng.
I made project for demonstrate about it there:
https://www.dropbox.com/s/d0pr1kd5ko1dfm2/testColShapeCode.zip?dl=0
The text was updated successfully, but these errors were encountered: