Search the Community
Showing results for tags 'joints'.
Found 3 results
I made a ragdoll experiment http://www.babylonjs-playground.com/#8PQK71 is it possible to add angle limit to make it more realistic? for example to make elbow bend forward only, and upper arm to bend up and down and foward only. also, the PointToPointJoint joint seems works better on cannon.js engine, (more like hip & thigh from my experiment) thanks for the help~
I made an example of how you can mimic a skeleton/bodyparts using LockConstraints in P2 physics. I thought it might be useful to share it/ add to the Phaser examples , for people looking for ways to use joints/ lock constraints in their game. here is the example: http://188.8.131.52/example3/ The sprites I used are from my own game, but you could very well replace it with any other sprites... In the code I also explained how it works.
Hi guys, I have just started tries to make small games using phaser and decided to start from something very usual - tetris. So I am sorry for my stupid questions but I have spent some time trying to resolve the question by myself but without any success. As we know each tetris' figure consists from 4 blocks. Also I want to add some physics to my game. And this is the main issue that I have faced. 1. Can I use simple rectangle and not sprite as physics body? 2. If I am using sprite I have 1 block. As far as I have understood I need to create a joint from 4 such blocks to have one solid figure. Am I right? Or there should be used another way. Also if yes, how can I create such joint? P.S. any tutorials with tetris or something similar with usage of phaser will be very useful. Thanks and sorry for my stupid questions