turanszkij / WickedEngine

3D engine with modern graphics
https://wickedengine.net
Other
5.84k stars 619 forks source link

[EDITOR] When clicking on items it slowly rotates #938

Closed CitroenGames closed 2 months ago

CitroenGames commented 2 months ago

https://github.com/user-attachments/assets/60442413-9b15-4e70-8a5a-52220a6f4757

it only happens on the highlighted object

CitroenGames commented 2 months ago

to add more info to this:

The whole level is 1 big mesh and then i rotated it 90° because it wasnt rated correctly and that causes the issue.

i imported it into blender rotated it there exported it and now it works fine but still wanted to report it.

Cop46 commented 2 months ago

Could you please try this fix here and report if it works ? Thanks :) https://github.com/turanszkij/WickedEngine/issues/759#issuecomment-2284866411

CitroenGames commented 2 months ago

Could you please try this fix here and report if it works ? Thanks :) #759 (comment)

oh hey thanks for mentioning that without it i wouldnt have found it. sadly your explaination is hard for me to follow could you maybe make a fork of this project and make the change? that would help a lot thanks!

Cop46 commented 2 months ago

You can get the file on my fork here : https://github.com/Cop46/WickedEngine/blob/master/Editor/Translator.cpp just replace with your file and rebuild to try

CitroenGames commented 2 months ago

You can get the file on my fork here : https://github.com/Cop46/WickedEngine/blob/master/Editor/Translator.cpp just replace with your file and rebuild to try

yep that seems to have fixed it for me thanks!

Cop46 commented 2 months ago

Thanks for your reply I have made a pull request to fix this bug :)