Trying to use AC to build a 2D adventure game and running into a few hitches...
- Is object highlighting supported in 2D? If not, is it something that conceivably could be added?
- Is holding objects possible in 2D? Obviously it wouldn't work the same as how it does w/ a 3D model, but seems like it'd be very feasible to incorporate the same functionality using empty child gameobjects(?)
- Does Hotspot Detection by player vicinity not work in 2D? I went through the tutorial but it doesn't seem to be functioning - I tried both with the sphere collider attached to the empty object, as well as with a circle collider in case the steps were slightly different for 2D but neither worked. My assumption was that this feature would make the hotspot name appear as you got close to it, so if this isn't how it works, that may be why it doesn't seem to be working(?)
Comments
Same for Hotspot Detection - it's a bit of an oversight on my part that it doesn't currently work in 2D. I'll have it added in 1.37.
There shouldn't be a minimum required number of NavMesh points. The minimum I've tested with, however, is 5 - the default PolygonCollider shape works fine. Are there any "holes" defined?
@DieHappyGames: I can't see the actual NavMesh in your video. Could it be that you're actually clicking beneath the NavMesh? The problem may go if you lower it enough.
@Xidore: I'm not sure what you mean by "in the action", but you can both play custom actions and change the "standard" ones (walk / idle etc) in-game, though the exact method depends on what engine you've set in your Character inspector.
2D highlighting: Be sure to give your highlightable sprites the Sprites/Diffuse shader, rather than the Sprites/Default one. 2D highlighting only works for that shader type - you will have to light such objects in your scene as you would 3D.
OnHotspot menu items: That is a bug, thanks for the alert. Will fix for the next update.