|
本帖最后由 EPFL_GO111 于 2010-5-8 10:32 编辑
7 z! p; F0 T }0 g) [
5 ^/ Q/ e0 k( `; I5 o3 Rnow i have an idea that if the leader object in the route 1 has the distance less than 10 meters (for example), i would choose the route 2 to avoid it.. however, if the leader object in the route 1 has the distance greater than 10 meters, i would choose the route 1 to continue my journey.
. {$ y6 \+ `* V6 A. z4 f
. b9 u# ?7 O4 l0 `9 T* A h: b3 w5 M/ pCan Extendsim detect the distance? or how can i realize this function by using other ways?& T1 G9 U. M% V6 ~1 W
0 M; P5 I" v0 Z* H. m% Gthank you for sharing your ideas. thx
_. f5 l5 t, u/ V8 h
* ~3 w; h4 }+ o; C6 w. R' Z如题,我想实现如下效果:如果我前面的小球(在路径1)距离我小于10米,我就会选择路径2去避免与他相碰,但是,如果我前面的小球(在路径1)距离我大于10米,我还是会选择路径1去继续我的旅程。* ~% K2 t# c* ]: p. e2 r
, n* O1 i1 s5 L" M1 L请问Extendsim可以探测距离吗?还是要用其它方法去实现?谢谢指导!! |
|