Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: logiquefloue on June 20, 2013, 06:26:12 AM

Title: RaycastHit.TriangleIndex in Playmaker ?
Post by: logiquefloue on June 20, 2013, 06:26:12 AM
Hello,

Before buying PlayMaker, I look at all the available functions. concerant the 'RaycastHit' I have not seen in the manual information TriangleIndex! true or false. I absolutely need this for my game  :(

Thank you for the information
Title: Re: RaycastHit.TriangleIndex in Playmaker ?
Post by: jeanfabre on June 20, 2013, 07:22:50 AM
Hi,

 Triangle index is available within the Unity raycasthit infos, but not as part of the default action within PlayMaker.

 but guess what! :) the community is here to help you getting these custom actions, so I made a new action to get these extra raycast hit infos.

http://hutonggames.com/playmakerforum/index.php?topic=4200.0

When you download custom actions from this forum of from somewhere else, simply put them inside your Project assets ( I usually create a folder "PlayMaker Custom Actions" to keep my assets clean). Then the action will appear in the PlayMaker Action browser just like any other.


 Bye,

 Jean
Title: Re: RaycastHit.TriangleIndex in Playmaker ?
Post by: logiquefloue on June 20, 2013, 08:59:29 AM
Thank you very much for having answered me and have quickly brought the solution.  ;D
Your reactivity motivates me even more to use this tool.

Merci beaucoup JeanFabre ;)
Title: Re: RaycastHit.TriangleIndex in Playmaker ?
Post by: jeanfabre on June 20, 2013, 11:38:44 AM
Salut,

 De rien :)

 a plus,

 Jean