Collision&Gravity Problem - Tshirtbooth
Shpint
Member Posts: 404
1) I have a round actor with his arms and legs sticking out. I only want his body to collide not his arms and legs. I remember reading your post about distance from midpoint or something.
2) I also wants him to roll when he moves on the platform. This is what happens, when I press keyboard "right" he moves right "left" he moves left, but he doesn't roll; he only "move". Rotation is enable. Does this has anything to do with friction? If not how can I accomplish this?
3) How can I increase the speed of him falling down? On the scene gravity attribute, I put in 0 for X and 90 for Y. All movable objects seem to be falling, but at a very slow speed. I also try using accelerate down, but when he touches the ground, I cant move him left or right.
2) I also wants him to roll when he moves on the platform. This is what happens, when I press keyboard "right" he moves right "left" he moves left, but he doesn't roll; he only "move". Rotation is enable. Does this has anything to do with friction? If not how can I accomplish this?
3) How can I increase the speed of him falling down? On the scene gravity attribute, I put in 0 for X and 90 for Y. All movable objects seem to be falling, but at a very slow speed. I also try using accelerate down, but when he touches the ground, I cant move him left or right.
Comments
2) For platform rolling I use a combination of rotate and accelerate. You must also play with the friction of the platform and the rolling actor. With enough friction you could use just rotate and your actor will roll. I find that using both rotate and accelerate works pretty well, though.
3) I NEVER use scene gravity anymore. Keep it at zero and put am accelerate 270 to scene in any actor that you want to fall. You can even create a game attribute (integer) and call it game.gravitySpeed. Use this for the accelerate 270 speed and set it to whatever you want. then if you decide that you need more gravity you will only have to change this value once and it will be applied to all your falling actors (just a time saving tip).
I found out the solution for 2,3 , but for 1, my actor is a bug.
He has 6 legs, a tail, and 2 antenna (What ever that part is called)
Anyone?