Moving A Connected Object With Transform Logic

Discussion in 'How Can I...?' started by Mr Goodcat, Apr 24, 2018.

  1. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    Hi all,

    I have a wheel which has multiple small objects connected to it. I’m trying to move the small objects with transform logic but it doesn’t seem to work unless I change the connection to make the small objects the parent.

    This isn’t how I need my game to work as I need the large wheel to rotate the small objects.

    How would I achieve this?

    Thanks.
     
  2. DariusGuerrero

    DariusGuerrero Moderator Staff Member

    Joined:
    Dec 22, 2016
    Messages:
    470
    Likes Received:
    379
    what do you want the small objects to do
     
  3. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    Hi Darius,

    I want the small objects to move outwards, further away from the large centre wheel.
     
  4. DariusGuerrero

    DariusGuerrero Moderator Staff Member

    Joined:
    Dec 22, 2016
    Messages:
    470
    Likes Received:
    379
    Hm. Maybe use paths instead. Give the illusion that the objects are being rotated by a large wheel at the center.
     
  5. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    I had considered using paths but my experience with paths is that they are temperamental. Would an advance move work for this? I can’t test at the moment as I’m at work
     
  6. DariusGuerrero

    DariusGuerrero Moderator Staff Member

    Joined:
    Dec 22, 2016
    Messages:
    470
    Likes Received:
    379
    probably not if the objects are attached to the parent wheel. another thing you can do is play with angular and linear velocity to get the results you want to see, but personally I'd play around with paths
     
    Mr Goodcat likes this.
  7. Mr Goodcat

    Mr Goodcat Boxer

    Joined:
    Jun 10, 2017
    Messages:
    98
    Likes Received:
    28
    Thanks for the help. I’ll give it a go.
     

Share This Page