playMaker

Author Topic: 'Set Parent' downscales parented object significantly  (Read 1434 times)

Neikke

  • Full Member
  • ***
  • Posts: 134
'Set Parent' downscales parented object significantly
« on: October 15, 2017, 08:33:42 AM »
Here's the thing. I want to pool an object (large scale collider to attract coins) and make it a child of my player character. So I added Create Object action, assigned my player's position as spawning point etc, and have set the Parent to be Player character. But when it creates a clone of my large collider and makes it a child of Player my collider object gets downscaled approx. 10 times. Can't get what's going on with it. Please help!

P.S. By the way, this action "Create object" has two parameters: 'Spawn Point' and 'Position' - what's the difference between them?

Thanks!

MajorIdea

  • Full Member
  • ***
  • Posts: 131
Re: 'Set Parent' downscales parented object significantly
« Reply #1 on: October 15, 2017, 12:19:05 PM »
If I'm understanding right I think this is a unity thing. The child inherits the parent's scale.

This solution by Jean should help:
http://answers.unity3d.com/questions/44641/how-to-scale-a-parent-without-scaling-children.html

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: 'Set Parent' downscales parented object significantly
« Reply #2 on: October 17, 2017, 02:44:15 AM »
Hi,

 Forgot about that post :) yes not much to do about scaling unfortunatly.


 Bye,

 Jean