Jump to content
  • Advertisement
Sign in to follow this  

Question: 2D Car Physics Tutorial

This topic is 591 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
Sign in to follow this  

  • Advertisement

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!