Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 Support (Qt 5) › Prevent player from flipping over, or rotate a flipped over player

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #23650

    OCG

    I am creating a simple car game for practice, and found that the physics can cause my car to flip upside down.  I would like the vehicle to right itself (or prevent rotating more than +/-60 degrees).

     

    What is the best way to handle that?  Is there a way to restrict max/min rotation of a body?

     

    If not, is there an On event where I need to apply an animation to rotate it back upright?  (and how)

Viewing 1 post (of 1 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded