Home General
Welcome to the new Diaspora forums, please let us know if you see anything broken! Notice: Some users may need to reupload their avatars due to an issue during forum setup!

Applyforce

CoupezCoupez Registered Posts: 26
edited December 2011 in General #1
I am wondering whats the easist way to make a e2 hover if i am using a e2 apply force to make a drone move ?
thanks

Comments

  • AmaroqAmaroq Registered, Administrator Posts: 450
    Don't use ApplyForce. Requires more math for the E2, as well as the server.

    Use setVel instead. Much less complicated, and easier on the server mathematically.
  • Nielk1Nielk1 Registered, Administrator Posts: 252
    Amaroq wrote:
    Don't use ApplyForce. Requires more math for the E2, as well as the server.

    Use setVel instead. Much less complicated, and easier on the server mathematically.

    Though if you want it to move smoothly you have to program your own acceleration curves.
  • AmaroqAmaroq Registered, Administrator Posts: 450
    This is true. Basic smoothing algorithms handle this pretty easily, though.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file