-
Notifications
You must be signed in to change notification settings - Fork 173
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
Error in some entities location #47
Comments
This is usually a block problem. If you can edit the files you can try grouping all object in the existing block or removing all object from the block. @bzuillsmith I thought blocks were supported, is this some edge case? |
There is some support for blocks. In this case it appears there is a rotation happening and I believe there was an issue I never got around to fixing with rotations. |
Hmmm I'm not great at understanding three.js translations, rotations, and scaling. The code for that is here. It's possible the order in which these operations are performed matters and that I did something out of order. Maybe I should be adding the entities, then rotating, then translating? Another possibilitity is that the block has a base point which I don't think I added support for. This would cause translations to be wrong. |
It may be caused by not using extrusion direction. |
Oh, I see. I did not totally understand your post about changing the extrusion direction at first. I understand now. You may be right. Does it work correctly if you change it to 0,0,1 and the Z-Scale to 1? |
If extrusion direction is (0,0,-1) ,I will change the roation and position, it work correctly.But I don't know if this is suitable for other files.
|
Some location error and i can't fix it.
Can you help me fix it or give me some advice? thanks!
normal
error
left5.zip
The text was updated successfully, but these errors were encountered: