YouGroove Posted February 5, 2015 Posted February 5, 2015 Hi, I imported a character model and assigned character controller. I tried 0 and 180 for the character angle , but it always faces camera instead of facing forward. Does anyone encountered that problem ? Quote Stop toying and make games
CreativeOcclusion Posted February 6, 2015 Posted February 6, 2015 Try rotating in modeling program and reimport.... Quote
cassius Posted February 6, 2015 Posted February 6, 2015 All the characters I porchase frpm Ateria are facing the wrong way. I rotate them 180 in uu3d. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
YouGroove Posted February 6, 2015 Author Posted February 6, 2015 That's really strange i modified to face 180 opposite in Blender and re imported it , but it still faces camera ? I use non modified TPS code, but i'll check it again. Thanks guys. Quote Stop toying and make games
CreativeOcclusion Posted February 6, 2015 Posted February 6, 2015 Make sure you change the character angle in the editor back to zero.... Quote
Thirsty Panther Posted February 6, 2015 Posted February 6, 2015 I had something like this some time ago. It turned out the script I was using for the character was also rotating the character 180 degrees. Therefore it was always facing the wrong way. 1 Quote
YouGroove Posted February 6, 2015 Author Posted February 6, 2015 Yes you are riht, i checked the code and i had that before the call to SetInput() -- rotate the model along with the camera self.entity:SetRotation(Vec3(0, self.cameraYaw , 0)) So i changed that. Thanks. 1 Quote Stop toying and make games
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.