playMaker

Author Topic: platform prefab  (Read 3790 times)

nyydynasty

  • Playmaker Newbie
  • *
  • Posts: 1
platform prefab
« on: October 20, 2024, 09:50:56 PM »
Hey all - new to unity and playmaker.
I'm trying to create a 1x1 platform as a prefab with a 2D collider component. I'm able to figure that out but when I import my prefab into the scene and extend the platform out (along the X-axis), the collider stays as a 1x1 (it doesn't extend with the platform).

So I'm trying to get it to extend automatically, along with the platform but I'm clearly doing something wrong. Can someone point me to a tutorial or guide me on how to do this?

Thanks a lot

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: platform prefab
« Reply #1 on: October 22, 2024, 08:21:53 AM »
Hi,

All is fine if you change the size of your sprite using the scale values: