Development is slow. I am way in over my head.

So I wanted to add in basic movement in Open Animal Crossing (OAC). I already had the mesh translating properly, but I wanted the mesh to face the direction it was moving in. Turns out to be harder than I thought it would be. I tried looking at the 3rd Person Controller script from Unity’s 3rd Person Platformer game, but even after tying to cut out a lot of the extraneous code, I wasn’t able to get the result I wanted. There doesn’t seem to be an exact example of what I want either. I found a solution that was very close on Unity Answers, but I couldn’t get it to make sense. Still I’ve only been at it for about two hours, so I won’t count myself out just yet.

I have a short video I’ve upload on YouTube of the “progress” I’ve made so far.

I just solved it! Yay! I won’t bother uploading a new video until I do something more interesting. Animation perhaps?

Anyway, you can transform objects relative to themselves as well as the world. I just had to specify using world space. Something to look out for from now on.

Advertisements

About imaginationac

I make things with computers.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s