x


Character Controller / Camera Problem

hey, I just got a new villager mesh and I'm having a problem with it in unity. I'm trying to use one of the villagers as a character, and I've attached a camera with smooth follow and a movearound script to it. however, everything is opposite on the character, instead of going forward when I push "w" he goes backwards, and when I push "s" he goes forward. I also have an issue with instead of looking at his back when the camera follows him, it looks at his front. Any way I can fix this?

more ▼

asked Sep 13 '10 at 04:01 PM

SweetRevenge gravatar image

SweetRevenge
9 8 8 11

It sounds like your model may be oriented incorrectly in local space. If that's the problem, you could attach the model to a child object and orient the child object appropriately, or you could correct the orientation either on import (if possible) or in the modeler.

Sep 13 '10 at 06:10 PM Jesse Anders

I was told, "you just need to setup axys properly in unity. this can be found in parameter." how can I do this?

Sep 13 '10 at 06:25 PM SweetRevenge

What you were told doesn't make much sense (at least as you related it), so you may need to ask the person in question for some clarification :) In any case, everything you describe suggests to me that your model is rotated 180 degrees on the Y axis relative to what you're wanting; if that's the case, then the most straightforward solutions are probably as described in my previous post (that is, attach the model to an appropriately oriented child object, or fix the model on import or in the modeler).

Sep 13 '10 at 09:11 PM Jesse Anders
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x3124
x1080

asked: Sep 13 '10 at 04:01 PM

Seen: 1561 times

Last Updated: Sep 13 '10 at 04:01 PM