New Physics (box2D)
Posted 13 April 2012 - 12:20 PM
So I've been experimenting with the new physics engine that Studio has. Had a look at the documentation and followed it through. But I have a few questions regarding how it all works.
How do you get an object moving. I understand it is to do with forces so how would you, say if you wanted to create a platform game, apply a force instructing the player controlled object to move right/left and jump etc. when a key is pressed.
Also say if I want to create bouncy balls. So far I have made it so that the object is affected by gravity and falls and comes to rest on the 'ground'. But how do I make that ball bounce along instead?
Lastly if anyone knows of an example showcasing the functions of the physics engine floating around anywhere it would be much appreciated.
Posted 13 April 2012 - 12:51 PM
And searching these forums will give you http://gmc.yoyogames...dpost&p=3925455 and http://gmc.yoyogames...post&p=3919255.
Posted 13 April 2012 - 01:04 PM
If there are any other examples out there please let me know. They really help me learn and progress!
Edited by Cakefish, 13 April 2012 - 02:02 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users