Hello again!
Right, I'm trying to use a limb attached to the weapon object as the muzzleflash by hiding it then showing when needed.
Here's the problem:
When I try to rotate the limb to face the camera by positioning a dummy object there:
position object dummyobject,limb position x(weaponobj,muzlimb),limb position y(weaponobj,muzlimb), limb position z(weaponobj,muzlimb)
point object dummyobject,camx#,camy#,camz#
rotate limb weaponobj,muzlimb, object angle x(dummyobject), bject angle y(dummyobject), bject angle z(dummyobject)
Which kind of works but the angle of the plain seems to be based more on where the camera is on the global axes rather than where it is in relation to the camera, what am I doing wrong?
Thanks,
Broken_Code