Campbell Barton
3a62892a95
Patch [ #19293 ] NearSensor: Changing distance and resetDistance from Python did not take effect immediately
...
from Frank Papenmeier (hodka)
--- from the submission
Changing the distance and resetDistance Properties of a NearSensor from Python did only take effect, once there was
a collision within the old radius.
Reason:
The radius of the PHY_IPhysicsController was not set to the new values.
Solution:
It is set at the end of the CheckResetDistance function. I moved the relevant code snippet from the Evaluate function
into a new function called SetPhysCtrlRadius in order to avoid duplicating code doing the same thing.
2009-09-13 08:17:22 +00:00
..
2009-08-22 10:51:21 +00:00
2009-05-07 09:13:01 +00:00
2009-05-07 09:13:01 +00:00
2009-04-29 10:06:38 +00:00
2009-04-29 10:06:38 +00:00
2009-04-29 16:54:45 +00:00
2009-04-20 23:17:52 +00:00
2009-02-19 13:42:07 +00:00
2008-10-31 21:06:48 +00:00
2009-04-30 12:45:13 +00:00
2009-07-31 09:05:13 +00:00
2009-07-31 09:05:13 +00:00
2009-06-17 06:54:35 +00:00
2009-05-17 12:51:51 +00:00
2009-06-12 12:56:12 +00:00
2009-05-23 14:46:43 +00:00
2009-05-19 07:16:40 +00:00
2009-04-20 23:17:52 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2009-05-19 07:16:40 +00:00
2009-04-20 23:17:52 +00:00
2009-05-29 16:55:22 +00:00
2009-08-04 05:14:10 +00:00
2009-04-22 14:42:00 +00:00
2009-06-06 00:12:49 +00:00
2009-06-06 00:12:49 +00:00
2009-07-25 22:57:29 +00:00
2009-07-25 22:57:29 +00:00
2009-05-17 20:37:13 +00:00
2009-05-17 20:37:13 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2009-05-23 14:46:43 +00:00
2009-04-20 23:17:52 +00:00
2009-08-31 15:28:43 +00:00
2009-08-04 05:14:10 +00:00
2008-04-16 22:40:48 +00:00
2009-05-17 12:51:51 +00:00
2009-05-17 12:51:51 +00:00
2009-05-11 23:05:13 +00:00
2008-09-23 20:07:15 +00:00
2009-05-15 03:26:53 +00:00
2009-04-22 14:42:00 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2009-07-31 09:05:13 +00:00
2008-04-16 22:40:48 +00:00
2009-07-31 09:05:13 +00:00
2009-06-09 22:56:43 +00:00
2009-06-12 12:56:12 +00:00
2009-06-09 13:51:32 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2008-08-17 17:08:00 +00:00
2008-07-25 13:45:57 +00:00
2009-07-25 22:57:29 +00:00
2009-07-25 22:57:29 +00:00
2009-05-17 12:51:51 +00:00
2009-05-17 12:51:51 +00:00
2009-08-23 06:17:59 +00:00
2009-08-23 06:17:59 +00:00
2009-09-13 08:17:22 +00:00
2009-09-13 08:17:22 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2009-05-18 08:22:51 +00:00
2009-05-18 08:22:51 +00:00
2009-01-13 22:59:18 +00:00
2009-05-17 12:51:51 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2009-05-21 13:32:15 +00:00
2009-05-21 13:32:15 +00:00
2008-04-16 22:40:48 +00:00
2009-04-29 16:54:45 +00:00
2009-04-20 23:17:52 +00:00
2008-04-16 22:40:48 +00:00
2009-07-31 09:05:13 +00:00
2009-04-29 10:06:38 +00:00
2009-08-31 03:36:02 +00:00
2009-05-10 20:53:58 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2009-06-16 07:16:51 +00:00
2008-04-16 22:40:48 +00:00
2009-04-25 07:17:36 +00:00
2009-06-03 04:12:59 +00:00
2009-08-25 12:43:25 +00:00
2009-06-01 12:36:22 +00:00
2009-05-16 00:49:28 +00:00
2009-04-13 19:33:22 +00:00
2009-06-16 08:52:04 +00:00
2009-05-10 01:48:14 +00:00
2009-07-31 09:05:13 +00:00
2009-07-31 09:05:13 +00:00
2009-04-05 14:01:49 +00:00
2008-08-27 19:34:19 +00:00
2009-05-10 20:53:58 +00:00
2008-07-30 17:41:47 +00:00
2009-05-15 03:26:53 +00:00
2009-05-10 20:53:58 +00:00
2009-05-19 07:16:40 +00:00
2009-04-20 23:17:52 +00:00
2009-05-15 03:26:53 +00:00
2009-04-20 23:17:52 +00:00
2009-04-29 16:54:45 +00:00
2009-04-20 23:17:52 +00:00
2009-07-26 01:32:37 +00:00
2009-07-26 01:32:37 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2009-08-07 03:51:28 +00:00
2009-08-02 23:53:53 +00:00
2009-05-14 07:59:44 +00:00
2009-05-14 07:59:44 +00:00
2009-05-03 22:29:00 +00:00
2009-04-07 22:14:06 +00:00
2009-05-03 22:29:00 +00:00
2009-04-07 22:14:06 +00:00
2009-06-17 12:32:28 +00:00
2009-05-10 20:53:58 +00:00
2009-05-20 08:45:42 +00:00
2009-05-17 21:50:31 +00:00
2009-04-08 16:25:00 +00:00
2009-05-17 12:51:51 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2009-05-29 16:55:22 +00:00
2008-07-30 17:41:47 +00:00
2009-08-22 10:51:21 +00:00
2009-08-22 10:51:21 +00:00
2009-05-19 07:16:40 +00:00
2009-04-22 14:42:00 +00:00
2009-05-07 05:23:15 +00:00
2009-04-20 23:17:52 +00:00
2009-05-10 20:53:58 +00:00
2009-05-10 20:53:58 +00:00
2009-05-15 03:26:53 +00:00
2009-04-20 23:17:52 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2008-04-16 22:40:48 +00:00
2008-09-04 20:51:28 +00:00
2009-05-07 05:23:15 +00:00