Wander_3D #55
Replies: 3 comments 2 replies
-
Hi @hana-gharrad that's actually a good question. When the 2 skills are used simultaneously it seems that the wander used by defulat is the wander in 2D. What about using only moving3D skills in your model? |
Beta Was this translation helpful? Give feedback.
-
Sure, here is the code. Thank you. So the z_max will not be applicable anymore?
|
Beta Was this translation helpful? Give feedback.
-
Hello, I know it's old but just if someone is having the same problems. Here the issue was that your world is a 2d shape and thus 3d moving is not possible, you can fix that by creating a cube instead of a square. |
Beta Was this translation helpful? Give feedback.
-
Hello all,
I'm trying to use the wander in 3D moves (Gama 1.9.1). However, I got wander_3D does not exist!
Am I missing something? Here is the code:
species agent2 skills: [moving, moving3D] control:simple_bdi { float view_dist<-150.0; float speed <- 2#km/#h; rgb my_color<-rnd_color(255); init { do add_belief(ready); } aspect basic { draw circle(30) color: my_color border: #black; draw circle(view_dist) color: my_color border: #black wireframe: true; draw name at:location color:my_color; } rule belief: ready new_desire: fly strength: 3.0; plan do_fly intention: fly{ do wander_3D; } }
Referring to the documentation. I need just 'moving' in the skills but I added both. The agents does not move in 3d, it moves only in 2d (when I change to wander).
I appreciate your help
Kind regards,
Beta Was this translation helpful? Give feedback.
All reactions