Hi!
I would like to make a grenade with to circles bodies. But the documentation doesn’t explain how to add circles to a complex body.
Thanks [import]uid: 25327 topic_id: 18304 reply_id: 318304[/import]
have a look at
http://www.youtube.com/watch?v=DL_or4XKTfU
or go with physicseditor
[import]uid: 12482 topic_id: 18304 reply_id: 70147[/import]
Thanks!
I will check it out. [import]uid: 25327 topic_id: 18304 reply_id: 70150[/import]
PHYSICS EDITOR IS THE BEST!!11!!1!!111!!1!!1!!1!1! (1’s emphasize importance of my statment lol)
You can pretty much do ANYTHING you want with physics shapes. Just keep the vertices count as low as you can.
Andreas (author of PE) is helpful. I’ve gone back and forth with him a few things, suggestions etc. Basically, I’m using PE as he put it “Physics Editor was not meant to be a Level builder WTF are you trying to do?”
I am trying to do some unique, and crazy, and it would be I-M-P-O-S-S-I-B-L-E without physics editor.
Can you imaging trying to write…28,812 vertices by hand and appending shapes? I’d fall over and die! With PE, you can autotrace the shape and be done in a minute.
There are certain things you cannot do in PE, that I have figured out (yes, I said you CANT do it, but you can!) If you come across something you CAN’T do, let me know and I can tell you. I’m remaining pretty closed lipped about what I am doing in it, but I can help you out.
AND DID I MENTION IT’s FREEEEEEEEEEEEEEEEEEEEEEEEEE!!! Well, free to use in a sample programs but you will want to buy it. It’s the magic tool and it’s freaking CHEAP.
It’s the best, don’t even mess with anything else!
ng [import]uid: 61600 topic_id: 18304 reply_id: 70219[/import]
yeah physics editor is the best ever … but what if i want to create a physics for a sprite ?!
it’s not the best at this case with me ! [import]uid: 96659 topic_id: 18304 reply_id: 73059[/import]
Hey, @akamel, I use Spriteloq, and it comes with physics editor. If you use Flash for your animation, you may want to check out Spriteloq. When you export the spritesheet, it can also create complex physics shape.
Naomi [import]uid: 67217 topic_id: 18304 reply_id: 73093[/import]
Hey Naomi,
… very nice that it works with exported spritesheets …
but What do you mean with ‘it comes with Physics Editor’ … sry i dont get it
Kamel [import]uid: 96659 topic_id: 18304 reply_id: 73210[/import]
Hey, @akamel, this should help answer your question – scroll down to Applying Physics Shapes to your Sprites :
http://www.loqheart.com/spriteloq/videos_docs.html
Cheers,
Naomi [import]uid: 67217 topic_id: 18304 reply_id: 73295[/import]
Hi again!
Nobody actually answered my question 
I don’t need a physics editor.
I just want to know if it’s possible to add circle shapes to a complex body, using Corona complex body contructor.
Thanks!
[import]uid: 25327 topic_id: 18304 reply_id: 73634[/import]
@Naomi
… thx for help … but i’m looking for applying shapes to a spritesheet
… Does this program support this too !?
thanks [import]uid: 96659 topic_id: 18304 reply_id: 74675[/import]
@michael:
… Did you try this way:
physics.addBody(object1, "static", {density=5.0, friction=0.1, bounce=0.5, radius=30})
… the radius makes a circular physics shape … if that what you want
sry if i didn’t get you
[import]uid: 96659 topic_id: 18304 reply_id: 74674[/import]
Hey, Kamel, sorry for getting back to you so late. I was away on vacation. Anyhow, yes, with Spriteloq, you can apply shapes to a spritesheet. Go to http://www.loqheart.com/spriteloq/videos_docs.html and scroll all the way down, click on the video about Applying Physics Shapes to your Sprites , and you can see how it is done.
Cheers, and Happy New Years!
Naomi [import]uid: 67217 topic_id: 18304 reply_id: 76720[/import]
Hi Sorry for hijacking this thread!
But is there any way to create a complex physics body with variable number of elements…
I mean the total no. of elements in my complex body is a value I get during Runtime from the user… [import]uid: 64174 topic_id: 18304 reply_id: 79006[/import]