Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Unity] 位置和旋转偏移量如何做到 zy 平面镜像 #30

Open
yangruihan opened this issue Dec 26, 2020 · 0 comments
Open

[Unity] 位置和旋转偏移量如何做到 zy 平面镜像 #30

yangruihan opened this issue Dec 26, 2020 · 0 comments

Comments

@yangruihan
Copy link
Owner

[Unity] 位置和旋转偏移量如何做到 zy 平面镜像

posOffset.x = -posOffset.x;

rotationOffset = new Quaternion(
    -rotationOffset.x,
    rotationOffset.y,
    rotationOffset.z,
    -rotationOffset.w);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant