Nice engine. I'm making a multitouch football game and I have a couple
of questions.
When I "kick" the ball too hard the player goes through the ball. What
do the settings for the engine mean? (iterations, splitimpulse,
bias, ...),
What I did is attach the bodies from physics2d to TUIO(multitouch)
events directly. First i tried updating them with every event but they
would keep on moving even when the player is not moving. TUIO does not
send not moving event. I ended up checking the collided event for the
ball. When the player collides with the ball I assign that body the
speed from multitouch movement and then I remove the velocity and acc
in the physicstimer tick event. Do you think this is the right way?
Thanks,
Vladimir
If you are having issue with objects going through each other try
making the objects thicker or increase the rate at which the engine is
updated.
Generally in Physics you don't want to manipulate velocities directly.
Try Adding force instead of velocity.
You can also create a join between where the players finger is and the
players character. like how the mouse works in the demo.
--
You received this message because you are subscribed to the Google Groups "Physics2D.Net" group.
To post to this group, send email to physics...@googlegroups.com.
To unsubscribe from this group, send email to physics2ddotn...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/physics2ddotnet?hl=en.