playMaker

Author Topic: Linecast2d Not Work Perfectly when use with "Set Rotation"  (Read 2116 times)

taforyou

  • Playmaker Newbie
  • *
  • Posts: 14
Linecast2d Not Work Perfectly when use with "Set Rotation"
« on: January 09, 2014, 12:48:12 AM »
1) What happened

i use linecast2d from one object to another object and check "Store did hit" and return "true" and "false" it's only work well when i move the object that has fsm script attached. but it's not work correctly when i try to move other object within linecast2d area.

it's mean linecast2d only detected "Store did hit" one time.

Actually i found what cause the problem.

The thing is linecast2d detected perfectly if i'm not use "set rotation" to other object that come within linecast2d area


2) How can we reproduce it

See this video " and try to use playmaker to reproduce it

Thank you


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Linecast2d Not Work Perfectly when use with "Set Rotation"
« Reply #1 on: January 24, 2014, 07:33:11 AM »
Hi,

 you have to exit and renter this state for the event to be fired again.

 Bye,

 Jean