Character flying backwards in the game engine

[Solved]

Hi there,

I’m making an FPS and I’ve got a character with a gun. There is a dotted sphere around my character and when I put the gun in it they both fly off backwards. The further away I put the gun, the slower the character goes backwards until it dosen’t fly backwards at all.


Is there any way of stopping this from happening?

Thanks,

Matthew.

I suspect the gun is colliding with your character’s bounds and pushing it backwards. Since the gun is parented to the character, the gun will push the character back indefinitely.

This problem might be fixed by setting the gun’s physics to ‘no collision’.
Hope this helps.

It worked.

Thanks a lot,

Matthew.