[Bf-committers] [Fwd: GE bug? Near sensor: reset trigger positive!]

José Ignacio Romero jose.cyborg at gmail.com
Wed Mar 4 18:10:15 CET 2009


> I'm trying to use the near sensor to apply an impulse on an object based 
> on the near-to-touch velocity (to make a damped-bouncing ball -there is 
> a simpler way?-). But I have a problem: as I tested on the example of 
> the screenshot, the sensor makes the two triggers (whithin distance, and 
> on reset) both positives!!! The reset one doesn't have to be negative?
> 
> 
> Thanks in advance,
> 
> Natanael.

You are doing it wrong, you forgot the () in isTriggered and isPositive
*facepalm*



More information about the Bf-committers mailing list