Data Realms Fan Forums http://45.55.195.193/ |
|
Muzzle effect problems http://45.55.195.193/viewtopic.php?f=1&t=31986 |
Page 1 of 1 |
Author: | Major [ Mon Oct 22, 2012 3:44 am ] |
Post subject: | Muzzle effect problems |
I want the Smoke to come out of the barrel, but the ejection offset doesn't bloody work, the ejection is always at 0,0 on the center of mass no matter what the ejection offset is. This is the code, any help would be apperciated. Attachment: |
Author: | Arcalane [ Mon Oct 22, 2012 4:44 am ] |
Post subject: | Re: Muzzle effect problems |
Isn't ejection-offset angle kinda wonky anyway? I'm not sure though, so don't quote me on that. Your best bet for a workaround is probably to have the gun fire an AEmitter that emits the smoke and actual bullet. |
Author: | Azukki [ Mon Oct 22, 2012 8:17 pm ] |
Post subject: | Re: Muzzle effect problems |
The ejection angle is, like, thirty degrees upward of backward. You can make it a negative speed so it's around thirty degrees down of forward. Or at zero speed, it's not really at a particular angle. But, it doesn't seem that's the problem he's having, he's concerned with the position, not the angle, if I'm understanding correctly. So let's take a look at that. Ctrl+F "EjectionOffset" on your code, and take a look. You have it defined twice, once for the offhand version, and once for the primary one. The ejection offset for the primary one is probably at 0,0 because that's what you have it defined as. |
Author: | Major [ Mon Oct 22, 2012 8:28 pm ] |
Post subject: | Re: Muzzle effect problems |
Well... This is... Embarasing. I completely forgot about the Offhand version. Err, thanks guys. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |