Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: PolyMad on September 01, 2018, 05:05:22 PM

Title: Set Property problem[SOLVED]
Post by: PolyMad on September 01, 2018, 05:05:22 PM
Trying to use this action with a variable, I actually have an Object variable ready, but when I put it in the field, the Property only shows the few options of a standard Unity Object, while I need to access the Mesh Collider properties.
How does this work?

Also, it is confusing that this action works on COMPONENTS but they are called OBJECTS.
Title: Re: Set Property problem
Post by: djaydino on September 01, 2018, 11:35:23 PM
Hi.
What Mesh Collider properties do you need to access?
Maybe there is something on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181)

If not, maybe i can make an action for it.

For the OBJECTS.
It is actually unity who set them all in a Objects list :

Quote
Base class for all objects Unity can reference.

Any public variable you make that derives from Object gets shown in the inspector as a drop target, allowing you to set the value from the GUI. UnityEngine.Object is the base class of all built-in Unity objects.
This includes Components.
Title: Re: Set Property problem
Post by: PolyMad on September 02, 2018, 07:49:44 AM
Hi, thank you for your quick response.
I only need to set the CONVEX property boolean.

Additionally, I'd also need to set the properties of a rigidbody, all of them practically.
Title: Re: Set Property problem
Post by: djaydino on September 02, 2018, 10:26:36 AM
Hi.
Try the action attachment below.

I think for the rigidbody everything is covered.

If you can't find what you need you can ask us :)

let me know if the action works for you :)
Title: Re: Set Property problem
Post by: PolyMad on September 02, 2018, 11:50:57 AM
Perfect, thank you very much dude!