Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

In AndEngine, many times we create a TextureRegion for our sprite. We can move this region around the scene but when I connect that region to a physics body I end up being able to use either one to move around.

My question is, which one do I move around. Should I use the physics body's position or the Texture?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

1) I think this is referenced here, and if not there's a decent community over there to ask. Even a bunch of tutorials/examples documented.

2) If I'm not mistaken I think you should always use transforms/forces to move anything associated with a body to correctly step with the Box2D physics...

share|improve this answer
    
I would vote this up but I don't have enough reputation points. :) Thank you. –  Free Lancer Mar 3 '12 at 6:36
    
@Free Lancer:+1 ;-)... –  While-E Mar 6 '12 at 0:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.