• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by assassinof1337 · Jul 17, 2011 at 04:30 AM · 3dplatformtutorial

3d platformer tutorial: Coppers won't move

Ok, so I just got to the part where you give the Coppers the ability to move and attack when you get too close. Everything is working fine, except that they won't actually move. All of the animations are working correctly, and if I get too close I take damage when they attack. But they will not move, or will move only like .1. Why is this? I'm pretty sure that I added the script correctly, seeing as to how the animations and damage are working correctly.

Edit: Ok, it looks like that the animations aren't working correctly either. Its only playing the threaten and idle animations. I still have no idea why though.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by testure · Jul 17, 2011 at 05:23 AM

Without seeing your code, I can only assume that you're missing a state in your state machine. I've never done the tutorial, so I can't say with certainty- but I'm sure they're using some sort of FSM.

It could also be that you're missing a trigger that's supposed to initiate your state.

I dunno, maybe somebody who's done the tutorial can chime in.. figured I'd post my theories in case they help ;)

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Kiela · Sep 26, 2012 at 10:52 PM

I know this question is old but this might help someone else.

I had the same problem but solved it by making sure the character controller on the robot was smaller than the robot body. You can start the capsule collider from the ground, but you have to make sure it reaches up to a maximum just below the head.

It might be that it pushes against the helmet box, inducing a collision, so you could try removing the box as well.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

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

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

3D Platform Tutorial Camera Problem 1 Answer

3-D Platform Tutorial StartmenuGUI script problem 1 Answer

When will tutorials be updated 0 Answers

Timer script & game hud 0 Answers

3d person tutorial cant run it in Unity 3? 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges