Forum rules - please read before posting.

About disabling hotspot functionality

Is there a difference in disabling the collider component and disabling the hotspot component ?

Comments

  • Disabling the collider is the better option, but the intended way to disable a Hotspot is to place it on the Ignore Raycast layer. This can be done by running the "Turn Off" command on it, using the Object: Send message Action.

  • edited September 2024

    Interesting.
    So, if I need to disable a hotspot through an animation, I might as well just disable the collider.

  • If it's temporary, that'll be fine.

  • Actually, unless I'm doing something wrong here, I've found that collision box and hotspot do not act the same ...

    I have a 'present' gameObject with a 'fishbone' object inside. When the player clicks the present, it opens, its hotspot is disabled, and the hotspot of the fishbone is enabled (through animations and actionlists).
    When I disable the hotspot for the present, I can't click the fishbone. But when I disable the present collision box, I can.

    https://ibb.co/Qr34LmH

  • Disable the Collider in this case. Even if the Hotspot is disabled, its Collider will still "block" clicks intended for the inner object.

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.