- Home /
Penelope Tutorial in Unity 3.4
Hi all, I'm having a hard time with my first Unity tutorial using Penelope. I understand this was created long ago, and I've gone through the process of converting the JavaScript to C# with the help of an online tutorial that ironed out some of the problems with old function calls. However, there seems to be a few things still going very wrong for me I'd appreciate some help with.
1) Using a stand-in character model with the CharacterController and a basic 10x10 plane, I am unable to get IsGrounded to read true at all. If I position the character's collision volume below the plane of the ground or at 0 Y axis it immediately falls through the world. If I move the player model up slightly (0.15 Y) it stays put but still doesn't read IsGrounded.
2) I can't tell if the basic CharacterController has gravity functioning at all. The script done in the tutorial contains code that zeros out the velocity Vector every frame if the player's on the ground, but I can't find any consistent downward force on the player. I've been reading up and it doesn't appear that Unity's basic Physics accounts for this unless you're using a RigidBody, is this correct?
If anyone has completed this tutorial from scratch could give me some pointers that would be awesome.
Thanks
Answer by thenelson · Sep 28, 2011 at 03:16 PM
Not exactly what you're looking for, but for my project I just used the existing scene in the Standard Assets (Mobile) package for controls and it worked out of the box.
Thanks for the information! I'll have to compare the Standard Assets version with $$anonymous$$e and see what's different (aside from .js vs .cs scripts)
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Add force problem 1 Answer
Similar movement to a game (look description) 1 Answer
Arrow trajectory 0 Answers