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.

Physics working only for a brief time

Home Forums General Questions Physics working only for a brief time

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #56509
    andrei pek
    Customer

    Hi everyone!

    So I made an app for myself and some friends to roll some dice on game night.
    I’ll use this mostly on a tablet.
    You tap or click the dice D6 and with a impulse and some angular velocity it will go up and rotate a bit for a random roll.

    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:376f112071/Dice/Dice.html

    My Issue is that the Physics work only for a few seconds and I can’t figure it out why.
    Any help would be appreciate it if you encountered something similar.

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

    Your dice becomes inactive when it stops moving. Make it active before applying an impulse.

    Puzzles and JS coding. 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 the meaning at all.

    #56534
    andrei pek
    Customer

    Oh wow!
    Thank you! It works now, really appreciate your help as I’m sure others here on the forums do.

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