Playmaker Forum

PlayMaker News => General Discussion => Topic started by: PolyMad on September 29, 2018, 02:38:51 AM

Title: Terrain texture index
Post by: PolyMad on September 29, 2018, 02:38:51 AM
The event action is pretty complete, but it doesn't cover this situation.
How can you solve this in Playmaker? Is it even possible?
Title: Re: Terrain texture index
Post by: jeanfabre on October 05, 2018, 03:00:53 AM
Hi,

 what event action are refering to?

 Bye,

 Jean
Title: Re: Terrain texture index
Post by: PolyMad on October 05, 2018, 03:18:43 AM
Doh... the forum has eaten part of the post...
I was talking about the collision event of course.

I don't think this is a very particular scenario nowadays anymore, as the environments become more and more visually realistic, also the feedback needs to keep on par.

How would you proceed to detect which texture index is touching an object? Raycast?
I guess with Playmaker this can't be done at the moment and needs some coding...
Title: Re: Terrain texture index
Post by: jeanfabre on October 09, 2018, 03:34:44 AM
Hi,

 you have an action called GetTerrainTextureName on the Ecosystem, have you tried this?

 Bye,

 Jean
Title: Re: Terrain texture index
Post by: PolyMad on October 09, 2018, 05:42:59 AM
No, didn't know about this, I'll try it! Thank you very much!