Forum rules - please read before posting.

Sprites shapes as hotsposts

I followed tutorial and read the manual about hotspot stuff, instead of use box collider or polygon collider is it possible to use the sprite itself ? This comes in handy if an animation of npc’s or object has an important space variation and avoid to draw the exact shape of a complex sprite to have pixel perfect detection.

Comments

  • Such a feature would have to come from Unity itself, since AC leverages Unity's collider system - but I don't believe this is possible, and rebuilding / reshaping a collider every frame would incur a massive performance cost.

    You may, however, be able to have multiple colliders of different shapes attached and include changes to their enabled states (so that only one is enabled at a time) into the animation itself.  That way, it can swap to a different one when the animation requires it.
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.