Jump to content

Recommended Posts

Posted

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 ?

 

angle.jpg

Stop toying and make games

Posted

All the characters I porchase frpm Ateria are facing the wrong way. I rotate them 180 in uu3d.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

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.

Stop toying and make games

Posted

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.

  • Upvote 1

Stop toying and make games

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...