Make Mesh Rotate In Another Mesh [solved]

Discussion in 'How Can I...?' started by JSeeger6, Apr 26, 2020.

  1. JSeeger6

    JSeeger6 Boxer

    Joined:
    Aug 29, 2018
    Messages:
    99
    Likes Received:
    12
    I'm looking to make the propeller of a helicopter rotate. The body & propeller are separate meshes, so I can isolate the propeller and make changes to it, however I don't know how to do it without making it a separate object. The rotate node affects the entire object, not just a part of it. Any ideas? Should I use this.entity().component('Propeller') in some way in the Rotate node?
     
    Last edited: Apr 26, 2020
  2. JSeeger6

    JSeeger6 Boxer

    Joined:
    Aug 29, 2018
    Messages:
    99
    Likes Received:
    12
    [SOLVED] - just figured it out
    You have to make a separate object (in my case the propeller), and SPAWN it to the main object (in my case the Helicopter Body). Then check "As Child" in the Spawn node - that attaches itself to the main object and keeps its same properties. I had the propeller rotating its own asset which kept it rotating when it spawns on the helicopter body. Hope that helps others looking for a similar resolution!
     

Share This Page