Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: jaspersnow1 on May 07, 2017, 01:58:33 PM

Title: ios linker set property not working
Post by: jaspersnow1 on May 07, 2017, 01:58:33 PM
i used set property (box collider) and (capsule colliders)in fsm and it is not enabled and disabled i have used linker to solve this but still nothing Xcode ver  8.3.2 (8E2002) and testing on iphone 7 unity 5.6.0
Title: Re: ios linker set property not working
Post by: memetic arts on May 07, 2017, 03:50:18 PM
If I understand you correctly, you are trying to activate/deactivate these objects, in which case you should use the Activate action, not Set Property (technically, it's obsolete).

If that's not the case, what properties are you trying to set exactly?
Title: Re: ios linker set property not working
Post by: jaspersnow1 on May 07, 2017, 10:03:05 PM
i meant activate and deactivate the component of the object using set property and i had draged the box collider component in the set property action in fsm
Title: Re: ios linker set property not working
Post by: djaydino on May 08, 2017, 05:38:31 AM
Hi,
Maybe you can use the action 'Enable Collider' or 'Enable Collider 2d'

You can find these on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181)
Always try to avoid using Get/Sey Property.
Title: Re: ios linker set property not working
Post by: jaspersnow1 on May 08, 2017, 09:29:57 AM
well i think i shoulde just make empty gameobject with box collider component copy in it and enable and  disable the game object with activate game object with Activate object task cause that is working fine i have tested it. set property for activate game object also does not work on ios builds
Title: Re: ios linker set property not working
Post by: djaydino on May 08, 2017, 09:51:56 AM
Hi,
The actions on the Eocsystem (https://hutonggames.fogbugz.com/default.asp?W1181) should work fine and you can find lots of other custom acitons there.
Title: Re: ios linker set property not working
Post by: jaspersnow1 on May 09, 2017, 06:02:49 AM
currently i create a simple c sharp script to enable and disable box collider and capsule collider using call method action if you need that script i can paste it here and call method action is working on ios builds
Title: Re: ios linker set property not working
Post by: djaydino on May 09, 2017, 06:22:53 PM
Hi,
Nah i rather use the actions from the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181)  ;)