|
|
本帖最后由 EPFL_GO111 于 2010-5-8 10:32 编辑
; M4 A6 w$ d6 |8 t7 i4 x- E- N
7 A; u* O' M" ?' Cnow 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.
) U' P, ~) N: R: G+ h: |
4 N) b# j8 E- j& tCan Extendsim detect the distance? or how can i realize this function by using other ways?! I& C- x- [* \0 J
1 w9 n* o- n5 h! rthank you for sharing your ideas. thx
! }' v5 J# o* G3 S" ]" w9 O2 w5 j
9 v- x, Z7 p0 T6 H1 B! x如题,我想实现如下效果:如果我前面的小球(在路径1)距离我小于10米,我就会选择路径2去避免与他相碰,但是,如果我前面的小球(在路径1)距离我大于10米,我还是会选择路径1去继续我的旅程。; k6 p6 H# Z1 v
; p/ H# c# D; Z' V- s4 C
请问Extendsim可以探测距离吗?还是要用其它方法去实现?谢谢指导!! |
|