Thanks Egon. You gave the simplest solution.
Different body parts aren't needed.
Different states for punching, ducking etc. will do.
Different body parts aren't needed.
Different states for punching, ducking etc. will do.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
if(pcBot.calcMinDistance(pcBot.getTransformedCenter(), myBot.getTransformedCenter(), 8)!=Object3D.COLLISION_NONE){
Log.e("Collision detected","i have hit the pc bot");
soundPool.play(punchId, 1, 1, 0, 0, 1);
soundPool.play(moanId, 1, 1, 0, 0, 1);
}
public float calcMinDistance(SimpleVector org,
SimpleVector dr,
float ignoreIfLarger)
Page created in 0.049 seconds with 12 queries.