Physics Editor question.

So i have an object(attachment below) and when i try to make the custom body for it i set the vector points and all and publish it and get the file… 

But after i publish i usually just go to the file and copy the custom shape and put it into the main file where the shape is being added but that is when the body has only 4 vectors… but now this body has over 10 and its giving me many shapes that makes up that one shape… 

How can i make it so its just one line of code? 

Thanks!

I’ve not tried it, so I can’t say it’s the solution you’re looking for, but it’s worth a look:

https://coronalabs.com/blog/2014/01/28/tutorial-create-physics-bodies-from-texture-assets/

Thanks hasty! That’s exactly what I needed!! I should probably start googling my questions before asking them haha​:joy::expressionless:

–SonicX278

I’ve not tried it, so I can’t say it’s the solution you’re looking for, but it’s worth a look:

https://coronalabs.com/blog/2014/01/28/tutorial-create-physics-bodies-from-texture-assets/

Thanks hasty! That’s exactly what I needed!! I should probably start googling my questions before asking them haha​:joy::expressionless:

–SonicX278