First Person Camera -- Gun Problem [SOLVED]

Aiursrage2k

30-08-2008 22:15:13

I am using the character controller for movement.

Now the problem is my "guns" are sticking out. So if I walk to close to geometry it gets clipped. If I make my capsule controller big enough to include the guns it would be too big to get through most things.


TWO

30-08-2008 23:07:56

You should render the guns after the geometry by raising the RenderQueueGroup:

entity->setRenderQueueGroup( entity->getRenderQueueGroup() + 1 );

almondega

30-08-2008 23:26:13

i'm doing a fps game too
what i did was to scale the gun smaller enough to dont go throught the wall

are u using the character controller? what version, bleending?

i didnt find anything special about character controler in the bleending version, just movements (witch is easy to do)

Aiursrage2k

31-08-2008 00:03:15

Okay that solved it, thanks! I was going to use boxes and all sorts of wacky things :D


Also neeeded to change depth_check off in the material