Upload

Loading...

3D Rad Speedometers, Tutorial 6

864 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on May 1, 2012

How to make a speedometer on 3D Rad.
Excuse the voice because the microphone is kind of messed up.
Give comments in how I could improve my tutorials.

Link to fifth tutorial:
http://www.youtube.com/watch?v=CW6U3W...
Link to seventh tutorial:
http://www.youtube.com/watch?v=fCqROH...

If you have any ideas for other tutorials then send it to this email:
tutorialsprogramming99@gmail.com

Script:

//This script adjusts a sprite orientation runtime depending
//on the car's speed. Useful to implement, for example, a
//rotary-dial-based speedomenter
void Main()
{
Quaternion spriteOrientation;
float zero = 110; //gauge position when speed is zero
float range = 6; //gauge range (in degrees) for each meter per second
iQuaternionFromEulerAngles(spriteOrientation,0,0,zero-IN_0*range,"xyz");
iObjectOrientationSet(OBJ_22,spriteOrientation);
}

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...