Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: TheWarRoom on April 07, 2014, 09:06:59 PM

Title: Anti Gravity field? [Solved]
Post by: TheWarRoom 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
Title: Re: Anti Gravity field?
Post by: jeanfabre 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
Title: Re: Anti Gravity field?
Post by: TheWarRoom 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?
Title: Re: Anti Gravity field?
Post by: TheWarRoom 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. ;)
Title: Re: Anti Gravity field? [Solved]
Post by: jeanfabre 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