|
|
本帖最后由 EPFL_GO111 于 2010-5-8 10:32 编辑 9 q0 P& Y; H9 s( L5 L% V
- A; i% ^6 C' v% o1 pnow 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.7 o5 i8 X5 U! w* g
1 U3 W# j# R4 {. x' E7 Q+ z
Can Extendsim detect the distance? or how can i realize this function by using other ways?0 d* r( _8 ?+ ]( O) x( B; g
9 h$ p5 V8 E! h1 l* m0 A5 _thank you for sharing your ideas. thx
/ v9 {1 ]7 L7 D+ ?
1 s$ ^' B2 g2 ~ k( j如题,我想实现如下效果:如果我前面的小球(在路径1)距离我小于10米,我就会选择路径2去避免与他相碰,但是,如果我前面的小球(在路径1)距离我大于10米,我还是会选择路径1去继续我的旅程。
+ Q# r. }) ]( G* [, T) z/ o; ~, C( ^1 ^% Z4 J
请问Extendsim可以探测距离吗?还是要用其它方法去实现?谢谢指导!! |
|