playMaker

Author Topic: Terrain texture index  (Read 1948 times)

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Terrain texture index
« 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?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Terrain texture index
« Reply #1 on: October 05, 2018, 03:00:53 AM »
Hi,

 what event action are refering to?

 Bye,

 Jean

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Terrain texture index
« Reply #2 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...

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Terrain texture index
« Reply #3 on: October 09, 2018, 03:34:44 AM »
Hi,

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

 Bye,

 Jean

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Terrain texture index
« Reply #4 on: October 09, 2018, 05:42:59 AM »
No, didn't know about this, I'll try it! Thank you very much!