playMaker

Author Topic: Create and return a random Vector3  (Read 966 times)

NewbNinja

  • Playmaker Newbie
  • *
  • Posts: 15
Create and return a random Vector3
« on: May 28, 2022, 06:14:45 PM »
So I took the Vector3 class and edited it a little and with a bit of tweaking (and a little help - thanks Brokn) managed to get it working.

I use it to randomize explosion locations on my Space Shooter game.  It's a pretty cool little function and a very welcomed addition to my library.

This is the FIRST function I've ever modified and I'm only 6 days into Playmaker / Unity so I consider this a little bit of an achievement :)

Hope it's of some use to someone out there.  I'm sure you guys can probably clean it up too since there's some pretty awesome coders out there!

Thanks guys!
NewbNinja
https://newb.ninja