Game Development Community

Camera collision

by Gerald Fishel · in Torque Game Engine · 05/19/2004 (10:10 am) · 1 replies

Hi all,

I'm having a bit of an issue with the third person camera, was hoping I could get some pointers.

When using certain player models, the 3rd person camera will push through the walls and terrain if you back up into them. It looks like the collision works for a little bit... if I back up a little bit at a time I can see that the character is getting closer to the camera, so the collision is working at that point. But once you back up beyond a certain point, the camera pushes through.

Using the Orc player model, this does not happen, I can get as close as I want to the walls or terrain and it does not poke through.

I havent been able to find a lot about the character model specs, and I am not the one doing the modelling... is there some mount point or something similar that affects the 3rd person camera? Or does anybody have any other ideas? ;)

Thanks

#1
05/19/2004 (11:22 am)
Nevermind, I figured it out. The 'cam' node was too far behind the character. When the actual camera position gets pushed between the cam node and the character it will pop through the terrain.

What exactly does the 'cam' node represent?

Thanks