Tuesday, February 26, 2013

Programming CH6 - Force Fields

Challenge 6 in programming class was to use force fields to create an interesting contraption or event. I have these crystal shards revolving around this big mother shard. Once the player wanders too close the little shards become alert, flying away and then dart towards the player, damaging them on hit, until they are dead.
 There is a cylindrical force actor based in the center of the mother crystal which the shards are attracted to at level start. After the trigger volume is tripped, a countdown begins leading up to a radial impulse actor that pushes all the shards away. Once this happens another force field is activated, a radial force actor, which was attached to the player at level start, and attracts the shards to the player.  The shards themselves are ridged bodies.

I made the crystal shader and threw it on a crystal mesh (haha, crystal methmesh) I made real quick.




The material as a whole could have turned out a little better but I learned a lot from this one. And the focus of these challenges isn't really on the art, I keep using that excuse because it makes me feel better about myself.  I started messing with sine waves to mess with the distortion. The sine waves opened up a whole new set of doors for me. That material editor is supa powerful and I haven't even scratched the surface yet.


After looking back at this post I realized I could take a better picture of the crystal... doesn't really show it off as well as it could. Has to do for now

No comments:

Post a Comment