YouGroove Posted February 5, 2015 Share 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 Link to comment Share on other sites More sharing options...
CreativeOcclusion Posted February 6, 2015 Share Posted February 6, 2015 Try rotating in modeling program and reimport.... Quote Link to comment Share on other sites More sharing options...
cassius Posted February 6, 2015 Share 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++ Link to comment Share on other sites More sharing options...
YouGroove Posted February 6, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
CreativeOcclusion Posted February 6, 2015 Share Posted February 6, 2015 Make sure you change the character angle in the editor back to zero.... Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted February 6, 2015 Share 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 Link to comment Share on other sites More sharing options...
YouGroove Posted February 6, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
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.