Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Coins not moving on pusher! (Medal game)

Discussion in 'Physics' started by npeck136, Aug 27, 2022.

  1. npeck136

    npeck136

    Joined:
    Jun 24, 2022
    Posts:
    3
    Right now, I am developing Magical Adventure, a medal game (coin pusher) on Unity. But I came into something.

    In other games like Patole's Patnet Resort 2, the coins move with the pusher, making it realistic. But here when I launch coins into the pusher, they stay put on the platform and not move.

    How can I fix this issue?
     
  2. knobblez

    knobblez

    Joined:
    Nov 26, 2017
    Posts:
    223
    Do the coins have rb constraints on? Are they child objects? Are they on layers that are able to collide with each other?
     
  3. npeck136

    npeck136

    Joined:
    Jun 24, 2022
    Posts:
    3
    The coin is a prehab object (not child), while the pusher is a child of a gameobject (the Main Field object). I have the pusher and the coins on layers "Pusher" and "Coin" layers. The RB constraints of the coins are all unchecked.
     
    Last edited: Aug 27, 2022
  4. cowtrix

    cowtrix

    Joined:
    Oct 23, 2012
    Posts:
    319
    Try changing your interpolation on the rigidbodies
     
  5. npeck136

    npeck136

    Joined:
    Jun 24, 2022
    Posts:
    3
    I finally got my coins moving... I used delta time and fixed updates.