I have a person agent who has a 3D representation of a man (default 3D pic of a human from anylogic). Can we change color of that 3D person agent's representation based on states? For example, when a agent moves from state A to B, it will change color from yellow to red. How to do that? I tried with shapeFillColor but anylogic is not detecting that 3D human representation as a shape (like polygons, triangle), statechart is not taking my command. Is it like we can only change the agent's color if that agent is manually drawn with some polygon? Will appreciate any feedback. Thanks,
Asked
Active
Viewed 1,182 times
1 Answers
0
You can do it as follows, it is not 100% intuitive:

Benjamin
- 10,603
- 3
- 16
- 28
-
WOW!! That's great! You are a real problem solver. Thanks Benjamin! – Tariq May 20 '20 at 18:00
-
ha, actually had to figure it out myself as well, but I was curious as I had similar issues previously. So win-win :) – Benjamin May 21 '20 at 06:08