Hi, I’ve been on Corona for several months now, and this probably has a very simple solution.
So I used the graphics.newOutline() function to create a physics body, but I cant use it in my finished product because I dont have the Pro version. I was thinking that maybe I could print the vertices and enter them in manually to my physics body. How would I print them? Here’s a little bit of my code:
[lua] p_options =
{
– Required params
width = 135,
height = 150,
numFrames = 2,
– content scaling
sheetContentWidth = 270,
sheetContentHeight = 150,
}
playerSheet = graphics.newImageSheet( “StealthStrikeNinjaSprite.png”, p_options )
–local frameIndex = 2
local playerOutline = graphics.newOutline(2, playerSheet, 1)
print (playerOutline.outline) – Heres where I want to print the vertices of the outline declared above
–playerOutline[/lua]
Thanks to anyone who helps!