Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Gav (HeyBud) on September 05, 2018, 05:46:43 PM

Title: Get info about 2d physics material? [SOLVED]
Post by: Gav (HeyBud) 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?
Title: Re: Get info about 2d physics material?
Post by: jeanfabre 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
Title: Re: Get info about 2d physics material?
Post by: Gav (HeyBud) on September 11, 2018, 08:18:43 PM
It works! Thank you!