Problem in the 3D tutorial

 
Post new topic   Reply to topic    Unity Community Index // Unity Support
View previous topic :: View next topic  
Author Message
kstenerud



Joined: 26 Jul 2009
Posts: 7

PostPosted: Mon Jul 27, 2009 12:58 am    Post subject: Problem in the 3D tutorial Reply with quote
I just started messing with the 3D tutorial but it's not going as the tutorial docs say it should.

On page 12, it says to:
- open the project and view Scenes -> TheGame scene.

I'm assuming this means to double-click on "TheGame", which I did.

- Open the Objects folder in the Project Pane
- Drag the Lerpz Prefab into either the Scene View or the Hierarchy View

I dragged into the scene view

- Click on the new Lerpz entry in the Hierarchy and rename it to Player
- Keep the Player object selected, move the mouse over the Scene View and tap
the F (focus) key to center the view on the Lerpz model.
- Move Lerpz onto the raised platform with the Jump Pad (the niche with the yellow
chevrons), near the Jail. (See the screenshot on the next page.)

I don't see any platform. Just gray space. The scene view doesn't show anything other than the robot guy hovering in the gray void. I can't see anything else no matter how far I zoom out. "Game" view shows the whole thing though.
Back to top
View user's profile Send private message
aNTeNNa trEE
Unity Artist


Joined: 30 Oct 2005
Posts: 2778
Location: Unity HQ, Copenhagen

PostPosted: Mon Jul 27, 2009 1:40 am    Post subject: Reply with quote
This is most likely due to the fact that you were just looking at the Island Scene which is rather large compared to the Lerpz Scene. Somewhere in your Hierarchy View is the Level geometry. Go through each Object in the Hierarchy and press "F" in the Scene View for each one until you focus on the Level geometry.
_________________
Ethan Vosburgh - Artist at Unity Technologies
http://twitter.com/antenna_tree
Back to top
View user's profile Send private message
kstenerud



Joined: 26 Jul 2009
Posts: 7

PostPosted: Mon Jul 27, 2009 1:42 am    Post subject: Reply with quote
No dice Sad

I tried every single item in the hierarchy and all children, but "f" does nothing.

I tried changing the location of the robot to 0, 0, 0, and he disappeared. Not even "f" brings him into view. Just a gray void now...
Back to top
View user's profile Send private message
aNTeNNa trEE
Unity Artist


Joined: 30 Oct 2005
Posts: 2778
Location: Unity HQ, Copenhagen

PostPosted: Mon Jul 27, 2009 2:39 am    Post subject: Reply with quote
The Scene View needs to have focus when you press "f"... not the Hierarchy View.
_________________
Ethan Vosburgh - Artist at Unity Technologies
http://twitter.com/antenna_tree
Back to top
View user's profile Send private message
kstenerud



Joined: 26 Jul 2009
Posts: 7

PostPosted: Mon Jul 27, 2009 2:53 am    Post subject: Reply with quote
Ok found it. If there's nothing in the scene view then clicking the scene window unselects anything in the hierarchy list.
So if you can't see anything, you can't select anything to focus on Confused

Once I zoomed out a LOT, I was able to see the selection outline when I clicked something in the hierarchy window, then click exactly on the object and focus.
Back to top
View user's profile Send private message
aNTeNNa trEE
Unity Artist


Joined: 30 Oct 2005
Posts: 2778
Location: Unity HQ, Copenhagen

PostPosted: Mon Jul 27, 2009 3:10 am    Post subject: Reply with quote
Your cursor just needs to be hovering over the Scene View. So selecting something in Hierarchy, then move cursor over Scene View and press "f".
_________________
Ethan Vosburgh - Artist at Unity Technologies
http://twitter.com/antenna_tree
Back to top
View user's profile Send private message
kstenerud



Joined: 26 Jul 2009
Posts: 7

PostPosted: Mon Jul 27, 2009 5:26 pm    Post subject: Reply with quote
Ok, cool.

Next problem:

On page 18/19 it says:

Quote:
Our next step is to adjust the Character Controller. At the moment, the Capsule Collider
it uses is located too far down in the Y axis, so Lerpz stands on thin air. (You can
see the Collider's position in the Scene View: it's the long blue cylindrical wireframe
shape.) We need to change the Center Y value.

Position the Capsule Collider as shown in the screenshot above. (A little experimentation
suggests setting the Character Controller’s Center Y to 1.03 will align its lower end perfectly with Lerpz's feet.)


How do you adjust the Capsule Collider's Y position?
There isn't anything called "Capsule Collider" in the hierarchy, and attempting to click on the capsule-shaped wireframe just selects the platform or the robot. Attempting to change the Y position under "Transform" just changes the entire robot's Y-position.


Also, on page 18 it gives a screenshot of what the inspector should show for the Third Person Controller script. On mine, the numbers are up to 10x out in some cases:

The tutorial shows 80 speed smoothing, and 0.3 trot after seconds. Mine shows 10 speed smoothing and 3 trot after seconds. Also, the tutorial's version can wall jump while on mine it is unselected. Should I be changing these values to match the tutorial? or will it mess up other parts?
Back to top
View user's profile Send private message
kayoone



Joined: 16 May 2009
Posts: 26

PostPosted: Tue Jul 28, 2009 7:00 pm    Post subject: Reply with quote
i have the same problem right now, how to adjust the freaking Capsule Collider, i can see it but not select it.
Driving me mad already :/

Also while my Lerpz has a perfect position in the scene view, when i hit play he suddenly is a bit in the air and on a little different position.


Last edited by kayoone on Tue Jul 28, 2009 7:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
dreamora



Joined: 05 Apr 2008
Posts: 8170
Location: Zürich, Switzerland

PostPosted: Tue Jul 28, 2009 7:06 pm    Post subject: Reply with quote
the capsule collider is part of the character controller itself so you adjust it through the center settings (and the others) on the character controller in the Inspector.
_________________
Available for contract work at fair rates
Technologies: Unity Pro, iPhone Advanced, ...
Site: GayaSoft & Home of PatchLaunch.
Blogs:Company & Another World
Back to top
View user's profile Send private message Visit poster's website
kayoone



Joined: 16 May 2009
Posts: 26

PostPosted: Tue Jul 28, 2009 7:11 pm    Post subject: Reply with quote
i dont even see a capsule collider... I see a green thing that looks similar but its not around the body of lerpz but some feet away and when i change its position i change the camera...

also in the game view lerpz is up in the air while hes fine in the scene view. This is costing me an hour already for such simple stuff :/
Back to top
View user's profile Send private message
kayoone



Joined: 16 May 2009
Posts: 26

PostPosted: Tue Jul 28, 2009 7:16 pm    Post subject: Reply with quote
got it now, also lerpz is not in the air anymore. But, the wireframe of the Capsule Collider is not on Lerpz body in the Scene view, its more like the cameras position. When i hit play it suddenly is on the position of lerpz body...can anyone explain that behavior ?

made a video of what i mean here:
http://www.screencast.com/users/kayoone/folders/Jing/media/fece17b6-510f-4999-8e28-ef375788d29b
Back to top
View user's profile Send private message
DeBarlo



Joined: 28 Sep 2009
Posts: 2

PostPosted: Mon Sep 28, 2009 5:03 am    Post subject: Reply with quote
The problem I'm having with the platform tutorial is on p. 28. When I delete the jet particle effect and place the prefab under torso I no longer see the particle effect at all.
Back to top
View user's profile Send private message Visit poster's website
DeBarlo



Joined: 28 Sep 2009
Posts: 2

PostPosted: Mon Sep 28, 2009 7:18 pm    Post subject: Reply with quote
Got it figured out. Dragging and dropping right into the scene worked. D&D into the hierarchy didn't though, so not sure if there is an issue there.
Back to top
View user's profile Send private message Visit poster's website
Post new topic   Reply to topic    Unity Community Index // Unity Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum