Download

Projectile location to weapon muzzle socket

Hi,

I followed the FPS code example to setup the particle system. I can’t seem to set the muzzle location for projectile system to the weapon muzzle socket in side scroller viewtype demo I’m working on. The weapon I’m using is borrowed form the Shooter Game and it is attached to the character at the weapon attach socket. I can set the “rough” muzzle location to start the particle system and it works. I would like to use code to set the muzzle location for the particle system since I like to have 2 or 3 different types of weapons.

Any help on this is greatly appreciated. Thanx.

JB

Would SpawnEmitterAttached work? This is what shootergame does to attach an effect to a muzzle location.