Forum rules - please read before posting.

Hotspot suggestion

Wondered if we could conform hotspots to our liking? For instance, on a 2d picture, we can shape the hotspot how we like it. I know there is a checkbox for "position over selected mesh" and that would snuggly fit the object but lets say there is a family portrait of 5 people and it would be ideal to edit hotspots to cover individual people in the picture.

Comments

  • A Hotspot's shape is bound by the collider attached. By default this is a rectangle, because it has a BoxCollider2D attached, but you can swap this for PolygonCollider2D to re-shape it however you like.

  • Ok fabulous Chris. Will try that out.

  • Ok, that would work in a 2D game. Not for 3D.

    Would you by chance have a PolygonCollider3D? My 2D picture (family portrait) is actually in the 3D game. Or is there another way of tackling this issue?

  • PolygonCollider2D is a Unity component - the equivalent for 3D would be the MeshCollider component, where the collider is based upon a custom mesh's shape.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.
Do NOT follow this link or you will be banned from the site!