Jump to content
  • Advertisement
Sign in to follow this  
phpwebdev

Question: 2D Car Physics Tutorial

This topic is 511 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Dear community,@[member='bzroom']

I have followed a 2D Car Physics Tutorial posted a long time ago to thewebsite: https://www.gamedev.net/topic/470497-2d-car-pyhsics-tutorial

The tutorial is great to use when building a racegame. I am new to C# and haven't done much with pyshics in the past years, hence this topic.

 

During the tutorial bzroom explains the calculations with references to newton laws. I need to display the speed of the vehicle on the screen using a label. I am in doubt which value I need to return and then write to a label. My gut is telling me that I need to use PointVel(Vector worldOffset) in order to get the velocity/speed of the vehicle. 

 

I am not sure about this and hope that someone could confirm this and maybe even tell me how to link it to label.

 

Kind regards,

 

Ahmed Ali

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!