$ ./guess_the_languageGame Dev
Game Dev · medium · #29

What is the effect of parenting the sword to the hand?

sword.setParent(hand);
  1. It follows the hand's transform
  2. It turns completely invisible
  3. It doubles its current size
  4. It is immediately destroyed
A child inherits its parent's position, rotation and scale in the scene graph.
Play Game Dev ▸