Head Shot
Posted: Thu Jul 16, 2009 6:44 pm
Hi. This will probably sound thick but I'm looking for a bit of help if anyones not busy.
I'm trying to get a good head shot on a "skinned" model with a sniper rifle. The problem being that I want the enemy to be a capsule generally, then when you shoot your player's gun, switch to a compound body for purpose of a ray cast. Is there an easy or powerful way to do this or should i
1: remove capsule from space
2: add compound to space
3: pose compound at the capsule's position
3: ray cast
4: remove compound from space
5: add capsule to space
I wonder if this would cause partitioning overhead?
Er. Anyone know about this thing here that I just said?
Cheers
I'm trying to get a good head shot on a "skinned" model with a sniper rifle. The problem being that I want the enemy to be a capsule generally, then when you shoot your player's gun, switch to a compound body for purpose of a ray cast. Is there an easy or powerful way to do this or should i
1: remove capsule from space
2: add compound to space
3: pose compound at the capsule's position
3: ray cast
4: remove compound from space
5: add capsule to space
I wonder if this would cause partitioning overhead?
Er. Anyone know about this thing here that I just said?
Cheers