You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fantom...@googlegroups.com
OK. What am I missing here?
Local ball:ftObject ball = eng.CreateImage("ball.png", x, y) ball.SetScale(0.5) ball.SetColType(ftEngine.ctCircle) ball.SetID(123)
world.CreateObject(ball)
Now, herein lies a problem. The b2D object is twice the size of the image. It doesn't seem to effect it if I make the collision type a box, but then when has a ball been square?
Am I missing something inherently obvious here? Any help appreciated. :)
Glitch
unread,
Aug 16, 2013, 9:13:22 AM8/16/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fantom...@googlegroups.com
So I looked the the cftBox2D.monkey code. Appears there's something amiss with how you are calculating the radius of a circle. So by making a tiny change to the CreateObject method this seems to fix the over-sized Box2D circle.