Bullets, bullets, bullets, and more bullets

Posted by UnionJack on Jan. 25, 2013, 11:56 p.m.

Alrighty, because of my newbishness in Unity, I spent a very long time trying to get bullets working. Maybe too long. In fact, they took me about a week off and on to try and figure out.

It wouldn't have been such a problem, but I am dealing with very large velocities, and as a result, my jet often flew faster than my bullets. I ended up rewriting motion scripts, shoot scripts, and bullet scripts various times, to the point where my forward progress came to a screeching halt :( . I got it working today after a small break.

Other features include a better water material, a particle thud for when my bullets hit ground, distance fog, working gravity and proper collisions with objects. Also spent time working on a synthesized jet engine:

I suppose I'm going to have to add some kind of terrain block generation algorithm so that my terrains can span more distance. Again, large velocities will chew up a default sized terrain like it's breakfast.

All for now,

Cheers!

Comments

colseed 11 years, 3 months ago

Quote:
my jet often flew faster than my bullets
sounds like some laws of physics were in order

Good progress you've got there though. And the synthesized jet engine sounds pretty close to what I remember jet engines sounding like.

Have you worked on the part where the jet crashes yet? lololol

Toast 11 years, 3 months ago

Quote:
sounds like some laws of physics were in order

I would hardly call "total bullet speed := jet speed + initial bullet speed" physics just yet

colseed 11 years, 3 months ago

Quote: http://en.wikipedia.org/wiki/Velocity-addition_formula
In physics, a velocity-addition formula is an equation that relates the velocities of moving objects in different reference frames.
toast pls

Toast 11 years, 3 months ago

:(

Juju 11 years, 3 months ago

Needs more modulation on the filter frequency.

UnionJack 11 years, 3 months ago

Toast physics phail :P

Juju, that was just a demo. I'm going to work on getting loopable samples

Colseed, I'll be working on making a "crashed" model and getting it working within the next couple days.