activating components, Custom node?

Forums General Discussion activating components, Custom node?

This topic contains 3 replies, has 2 voices, and was last updated by  chocolacode 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1407

    dropbearkarma
    Participant

    Hi just recently started using node canvas and I’ve been looking around for a while now but can’t find anyway to activate or deactivate a component of a game object using the nodes. i need to turn a collider on and off and was wondering if i would have to write my own node to do this?

    #1410

    chocolacode
    Participant

    Hey, You can drag and drop the component from the inspector directly into the Flow Canvas Graph. That will display a menu with some options where you can create your nodes. The one you are looking for is “Set Enabled”

    #1411

    dropbearkarma
    Participant

    although not directly applicable it did sow me the key word to search for, which is “Set enabled” as opposed to the set active i had been looking for, to get it working, so many thanks.

    #1412

    chocolacode
    Participant

    Hey,

    I had he same problem when I started using FC,

    regards

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.