playMaker

Author Topic: Is GET RAYCAST HIT INFO redundant?  (Read 2095 times)

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Is GET RAYCAST HIT INFO redundant?
« on: May 14, 2013, 12:19:39 AM »
For what I can see, this action can read values (gameobject hit, hit point, normal, distance) that are all in the RAYCAST action, so what's the purpose of it? Am I missing something?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Is GET RAYCAST HIT INFO redundant?
« Reply #1 on: May 14, 2013, 03:29:21 AM »
Hi,

 it's useful when down the stack of states/transition you want to access the last raycast hit info. So one state triggers an event based on a raycast action, then down the road you can still access that. It's available until the next raycast.

bye,

 Jean

PolyMad

  • Hero Member
  • *****
  • Posts: 545
Re: Is GET RAYCAST HIT INFO redundant?
« Reply #2 on: May 14, 2013, 04:46:50 AM »
Uhh very interesting but I think it's far beyond what I know at the moment eheh.

At the moment I only want to deal with the immediate raycast I make and I hope I'll manage to keep it like that!  :D