We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Executing a function conditionally.

Home Forums Puzzles Executing a function conditionally.

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #59441
    msahinn
    Participant

    Greetings everyone. I run two items when they are constantly in contact with each other. But once I contact and work, I cannot run it a second time because I have removed the physics. If I don’t remove the physics, the function overlaps.

    Does anyone have a suggestion?

    Attachments:
    You must be logged in to view attached files.
    #59447
    kdv
    Participant

    your function create bodies is executed twice at startup and then never called.

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.