Game Development Community

Ground contact and camera view.

by Tatjana · in General Discussion · 08/21/2005 (10:17 am) · 5 replies

Seems that all my objects are sinking midway through the terrain. This is not a problem as far as static objects, I just relocate their origin (after the fact). But as far as my main player, the origin of what's seen is above ground now since I relocated the origin before exporting the dts file, but the first player camera view is right at ground level (I can see below terrain at certain angles). How do I fix this problem?
I've searched many areas of the forum and practiced code that didn't seem to work for me. The issue is, I need to understand the problem is in theory before I add any more code.

Thank you with much appreciation

#1
08/21/2005 (11:00 am)
Are u using a separate eye node? if you dont use an eye node, the origin is used by default.
#2
08/21/2005 (2:54 pm)
Sean H.,

I will research this.

Thank you very very much
#3
08/21/2005 (4:04 pm)
Sean H.,

Thank you, Thank you!!

I got it working now.

~Tatjana

And for the rest of us (like me). This is an armature named "eye" that is a child of the player head mesh.
#4
08/21/2005 (5:04 pm)
Cool tatjana!
#5
08/21/2005 (5:33 pm)
I actually had a lot more trouble with getting the player model to be above the ground than getting the eye part right :P Good to see you fixed the problem though.