|
本帖最后由 EPFL_GO111 于 2010-5-8 10:32 编辑
4 T% Q! l" B8 j6 T3 w- s% m' C8 U* ]6 D
now 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.2 P4 c" e8 t4 Q" n6 n3 h' e) n
! `$ z. L O8 F/ `# Q/ U
Can Extendsim detect the distance? or how can i realize this function by using other ways?* [! h# a( o( a# q7 o$ l6 G, M
* f' p& P$ `: s# V2 ]% Z/ `thank you for sharing your ideas. thx
, t9 |) K* Q4 B' A! z2 R% R9 |: C: _3 M |# e0 [0 p
如题,我想实现如下效果:如果我前面的小球(在路径1)距离我小于10米,我就会选择路径2去避免与他相碰,但是,如果我前面的小球(在路径1)距离我大于10米,我还是会选择路径1去继续我的旅程。, Y3 h& y4 `3 l: a2 G0 h4 `
6 H& Q' h; \, L$ S: W# s
请问Extendsim可以探测距离吗?还是要用其它方法去实现?谢谢指导!! |
|