playMaker

Author Topic: Get info about 2d physics material? [SOLVED]  (Read 1210 times)

Gav (HeyBud)

  • Full Member
  • ***
  • Posts: 126
    • Tumblr
Get info about 2d physics material? [SOLVED]
« on: September 05, 2018, 05:46:43 PM »
Hi I need to get the name of the 2d physics material on a game object. Is that possible?
« Last Edit: September 11, 2018, 08:19:09 PM by Gav (HeyBud) »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Get info about 2d physics material?
« Reply #1 on: September 10, 2018, 02:49:20 AM »
Hi,

 you could use SetProperty action, but it's better to use dedicated actions, so I made it on the Ecossystem:

 GetPhysicsMaterialName and getPhysics2dMaterialName

Let me know how it goes.

Bye,

 Jean

Gav (HeyBud)

  • Full Member
  • ***
  • Posts: 126
    • Tumblr
Re: Get info about 2d physics material?
« Reply #2 on: September 11, 2018, 08:18:43 PM »
It works! Thank you!