[Bf-committers] [Fwd: GE bug? Near sensor: reset trigger positive!]
Natanael Olaiz
nolaiz at gmail.com
Wed Mar 4 18:22:36 CET 2009
El 03/04/2009 06:10 PM, José Ignacio Romero escribió:
>> 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*
>
Ooops!!! I used them the first time, but as the blender said that those
methods are deprecated, I wanted to use the read-only properties
(triggered & positive) but I read them wrong :-/
Thanks a lot!!!!
Best regards,
Natanael.
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>
>
More information about the Bf-committers
mailing list