crydrk
12-03-2009, 12:16 AM
Long story: Hi, I am currently trying to make a rig for an x-wing that I built and part of my assignment is to make it fire laser bolts. I've written a script that executes the pattern for firing and it works correctly. I know this because I have recoil and muzzle flashes also set up. Those are working. Theoretically, if there was a command that said something to the effect of, "emit particle emitter1;" then I would have solved the problem. Unfortunately my school has offered me no solution whatsoever and I've had a hard time finding a way to do it on the internet. I'm currently using instanced particles, but I am open to other solutions. I've tried having the particles' max count (opposed to being -1) increase every time I get to the correct part of the code, but I have to kill the particles eventually which will kill that method anyway.
Short story: I need to know a way to fire a laser from a source that will continue on its original vector independent to the the orientation or position of the rig it originated from.
I've uploaded a video to show my script controlling the cannons' recoil and muzzle flashes. Thanks for any help you can give me.
http://www.youtube.com/watch?v=M9pAJu0ngos
P.S. For the hardcore Star Wars fans: Being a huge SW fan myself, I understand x-wing turrets neither recoil nor produce muzzle flashes. My teachers forced me to do it against my... well vocalized arguments. In the end I lost and ended up making the system even though those hypocrites didn't have a solution for me anyway... :buttrock:
Short story: I need to know a way to fire a laser from a source that will continue on its original vector independent to the the orientation or position of the rig it originated from.
I've uploaded a video to show my script controlling the cannons' recoil and muzzle flashes. Thanks for any help you can give me.
http://www.youtube.com/watch?v=M9pAJu0ngos
P.S. For the hardcore Star Wars fans: Being a huge SW fan myself, I understand x-wing turrets neither recoil nor produce muzzle flashes. My teachers forced me to do it against my... well vocalized arguments. In the end I lost and ended up making the system even though those hypocrites didn't have a solution for me anyway... :buttrock:
