Constraining Arm To Man
Vmlweb
Member Posts: 427
Hey,
I am making a game with a man that you can move around the level and shoot stuff.
The man and the mans hand are two separate actors and the way I put them together is made a global attribute that was constrained to the player x,y. The hand x,y was constrained to those attributes + or - an amount to give it the right position.
This is the method I used for the mans shotgun arm and the mans reloading arm.
The problem is when he jumps his reloading arm lags behind the rest of the body, but the shotgun arm doesn't.
Anyone know why this is?
Thanks,
Victor
I am making a game with a man that you can move around the level and shoot stuff.
The man and the mans hand are two separate actors and the way I put them together is made a global attribute that was constrained to the player x,y. The hand x,y was constrained to those attributes + or - an amount to give it the right position.
This is the method I used for the mans shotgun arm and the mans reloading arm.
The problem is when he jumps his reloading arm lags behind the rest of the body, but the shotgun arm doesn't.
Anyone know why this is?
Thanks,
Victor
Comments
So if two objects collide the one with more pixels should "win" the collision if all else is equal. So if one arm is bigger you may need to make adjustments to the densities of the man actor and the other arm actor.