playMaker

Author Topic: Set Property problem[SOLVED]  (Read 1505 times)

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Set Property problem[SOLVED]
« 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.
« Last Edit: September 03, 2018, 03:19:13 AM by jeanfabre »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Set Property problem
« Reply #1 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

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.

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Set Property problem
« Reply #2 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.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Set Property problem
« Reply #3 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 :)

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Set Property problem
« Reply #4 on: September 02, 2018, 11:50:57 AM »
Perfect, thank you very much dude!