1 / 11

Driving Land Vehicle

Experience the thrill of driving a vehicle in a virtual world using a virtual keyboard to control power, thrust, and orientation. Explore kinematic and dynamic maneuvers in a challenging environment.

shizuko
Download Presentation

Driving Land Vehicle

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Driving Land Vehicle Game Programming Fall 2013

  2. Content • Kinematic maneuver • Dynamic maneuver

  3. Remark • No dynamics • Position of vehicle implicitly defined in modelview matrix • Difficult to compute bounding boxes

  4. Dynamic Maneuver • Assume the vehicle is a particle • The power and angle of thrust can be controlled • Drag is always opposite to the velocity (no drag is motionless) • Integrate equations of motion by Euler’s method v drag = -k v x thrust = Power Rot (q) Sforce = thrust + drag

  5. Using Virtual Keyboard • UP/Down: increase/decrease power by a ratio • Home: start engine with power = 1.0 • Space: stop engine with power = 0.0 • Left/Right: turning (next page) • Force_gas: the thrust force exerted by the power

  6. Engine Force Power: controlled by up, down, home, space Theta_thrust: controlled by tank orientation (theta), left and right

  7. Tank Rendering x vel q pos Force_gas z

More Related