ios - How should I go about scaling my physics body? -


i have physics body needs y scale 0.2. have been using rectangleofsize property define physics body, not sure how change y scale of it. had changed y scale earlier in code, , know if there easier way other having go photoshop , create new image. provide example code if needs me to. thanks!

unfortunately, scaling physicsbody in spritekit cause collisions bugged, recommend create new physicsbody , assign node instead.

as change yscale of node, can call function

node.yscale = yourvalue 

Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -