Hi, can someone tell me how to make and add a physics body to a triangle. Like in bubble ball, the game has that triangle ramp which has a physics body. [import]uid: 132369 topic_id: 33780 reply_id: 333780[/import]
Go here:
http://developer.coronalabs.com/content/game-edition-physics-bodies
…and scroll down to find the heading, Polygon bodies.
That should help you.
Also, PhysicsEditor is a great tool for automating the process of creating physics bodies: http://www.codeandweb.com/physicseditor
Jay
[import]uid: 9440 topic_id: 33780 reply_id: 134271[/import]
Hi, I’ve been using level director (www.retrofitproductions.com) and this allows you to specify all your physic properties including body shape and export it to lua code so you may want to give it a try.
I couldn’t be without it now, and a recent update allows you to create Bézier curves which I’m looking forward to playing around with.
[import]uid: 158620 topic_id: 33780 reply_id: 134275[/import]
Go here:
http://developer.coronalabs.com/content/game-edition-physics-bodies
…and scroll down to find the heading, Polygon bodies.
That should help you.
Also, PhysicsEditor is a great tool for automating the process of creating physics bodies: http://www.codeandweb.com/physicseditor
Jay
[import]uid: 9440 topic_id: 33780 reply_id: 134271[/import]
Hi, I’ve been using level director (www.retrofitproductions.com) and this allows you to specify all your physic properties including body shape and export it to lua code so you may want to give it a try.
I couldn’t be without it now, and a recent update allows you to create Bézier curves which I’m looking forward to playing around with.
[import]uid: 158620 topic_id: 33780 reply_id: 134275[/import]