x


Third Person Controller Falls Through Terrain Upon Adding Mouse Orbit

My Controller is falling through the terrain but ONLY when I have a Mouse Orbit Active. Please respond and help me out, I need the mouse orbit for my game because the character controller doesn't cut it with the W,A,S,D set up to change the camera. Thanks in advance.

Note:

Terrain is NOT set to trigger.

Controller does NOT fall through without the mouse orbit active.

I have NOT edited any scripts so far.

Is trigger is NOT checked.

My controller IS ABOVE the terrain.

I have tried starting a new project and reloading all the assets but to no avail. Was a huge waste of time. Please help, I'd greatly appreciate it.

I'd also like to say that it looks kind of like the controller is immediately teleported below the terrain upon running the game.

more ▼

asked Aug 29 '11 at 10:06 PM

Bloodlust gravatar image

Bloodlust
41 2 2 4

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

This problem usually happens when you add MouseOrbit to the First Person Controller: the camera must not be a target child for MouseOrbit to work - if the camera is childed to the target, MouseOrbit enters a "dog-chasing-the-tail" loop and falls through the terrain.
By the way, @SisterKy is right: the Answer box should be used only to answer your question; comments, replies and the like should be posted using the minuscule link add new comment link in the question or answer.

more ▼

answered Sep 02 '11 at 12:40 PM

aldonaletto gravatar image

aldonaletto
41.5k 16 42 197

Sweet! :D I'll add this info to 'the list'. :) Greetz, Ky.

Sep 02 '11 at 01:22 PM SisterKy

Yepp, the problem was I didn't have the main camera as the "child" for the third person controller and I was adding the mouse orbit asset to the third person controller instead of the main camera child within the controller.

I actually found the solution to the problem from a person in a game that I play, but I appreciate you taking the time to respond. :)

Also, sorry about the answer thing - I'm new to the unity answers scheme. ^_^

Sep 03 '11 at 02:49 AM Bloodlust

@Bloodlust np, thank you for tiding up :)

Why the heck was this answer down-voted back to 0?? Without giving a reason or admitting who did it? (can't have been Bloodlust with 11 Karma...) I've done my fair share of browsing the 'falling'-Threads and I'm pretty positive that this info had not been on UA before. It's a perfectly valid answer?! Things like that make me very sad! :(

Sep 03 '11 at 06:59 AM SisterKy

I agree with @SisterKy: down voting must always have an explanation. Down voting without explaining the reason is worthless - and costs a vote to the one who down voted too.

Sep 03 '11 at 03:38 PM aldonaletto

I have no idea who down voted it, but I must say - I wish I could have given it a thumbs up. :/

Sep 03 '11 at 04:43 PM Bloodlust
(comments are locked)
10|3000 characters needed characters left
Your answer
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:

x526
x102
x30
x10

asked: Aug 29 '11 at 10:06 PM

Seen: 1292 times

Last Updated: Sep 04 '11 at 04:33 PM