playMaker

Author Topic: Anti Gravity field? [Solved]  (Read 2052 times)

TheWarRoom

  • Playmaker Newbie
  • *
  • Posts: 14
Anti Gravity field? [Solved]
« on: April 07, 2014, 09:06:59 PM »
Hey a bit lost on how to implement this. Basically I have a anti gravity grenade. I want it to get a list of everything withing a certain area and turn the gravity off (temporarily)  would i use the on stay trigger
« Last Edit: April 08, 2014, 10:55:05 AM by TheWarRoom »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Anti Gravity field?
« Reply #1 on: April 08, 2014, 06:55:28 AM »
Hi,

 For this, you'll need to use triggers. either the grenade as a trigger ( a bigger sphere collider) or each GO that coul dbe affected by a grenade would have that bigger collider to know it's in range. I would first go for a grenade based trigger tho.

then catch all trigger enters and trigger exits and maintain a list ( using arrayMaker, you know this tool right? ) to know what object to affect.

 Bye,

 Jean

TheWarRoom

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Anti Gravity field?
« Reply #2 on: April 08, 2014, 10:29:53 AM »
Sweet i had figured there was some sort of array making tool. thats how i would accomplish this effect using C#. But i am loving play maker and the quick answers you can get here!!! As far ass array maker is this part of play maker or a seperate tool?

TheWarRoom

  • Playmaker Newbie
  • *
  • Posts: 14
Re: Anti Gravity field?
« Reply #3 on: April 08, 2014, 10:54:49 AM »
I do believe i found the download for array maker. i will marked this as solved for the moment. ;)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Anti Gravity field? [Solved]
« Reply #4 on: April 09, 2014, 12:21:39 AM »
Hi,

 Good. Just for the record: ArrayMaker can be found here:

https://hutonggames.fogbugz.com/default.asp?W715

bye,

 Jean