Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: taforyou on January 09, 2014, 12:48:12 AM

Title: Linecast2d Not Work Perfectly when use with "Set Rotation"
Post by: taforyou 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

Title: Re: Linecast2d Not Work Perfectly when use with "Set Rotation"
Post by: jeanfabre 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