Re: Wall fix can be rather intrusive [message #453786 is a reply to message #453785] |
Fri, 09 September 2011 11:10 |
|
Jerad2142
Messages: 3813 Registered: July 2006 Location: USA
Karma:
|
General (3 Stars) |
|
|
Woops sorry, meant to say I can't shoot in that picture.
I'm going to go ahead and assume that it's a bounding box collision your checking probably beings the gun is unable to fire even when the wall isn't directly colliding with the guns mesh itself. Personally, I'd think it'd work better to drop a ray down the Y axis from the muzzle bone, and just spot you from firing if that's intersected.
That'd at least make sure you still can't shoot though walls, and in addition you wouldn't be prevented from firing when a mesh crosses though a point that isn't even on the gun.
Visit Jerad's deer sweat shop
[Updated on: Fri, 09 September 2011 11:30] Report message to a moderator
|
|
|