Thursday, 04 June, 2026г.
russian english deutsch french spanish portuguese czech greek georgian chinese japanese korean indonesian turkish thai uzbek

пример: покупка автомобиля в Запорожье

 

3D Rad FPS, Tutorial 9

3D Rad FPS, Tutorial 9У вашего броузера проблема в совместимости с HTML5
How to make a FPS game on 3D Rad. Excuse the voice because the microphone is kind of messed up. Give comments in how I could improve my tutorials. Script: //This script keeps a SkinMesh object locked //at a given offset from the camera. //This technique can be used in a FPS game, to //render view-locked 3d props, like a carried gun. //Link this script object to the CamChase object //and the SkinMesh object. //Do NOT link the CamChase and the SkinMesh in the Object List! //In this script, make sure that: // OBJ_0 is the CamChase object // OBJ_22 is the SkinMesh object Quaternion DeltaOrientation; Vector3 DeltaLocation; void Main() { Quaternion cameraOrientation; Vector3 cameraLocation; Quaternion orientation; Vector3 location; if (iInitializing()) { //Set locked SkinMesh orientation (camera relative) iQuaternionFromEulerAngles(DeltaOrientation,0,0,0,"xyz"); //Set locked SkinMesh location (camera relative) DeltaLocation = Vector3(1,0,0); } iObjectOrientation(OBJ_0,cameraOrientation); iObjectLocation(OBJ_0,cameraLocation); Quaternion objectOrientation; Vector3 objectLocation; iQuaternionMultiply(objectOrientation,DeltaOrientation,cameraOrientation); iVectorRotate(objectLocation,DeltaLocation,cameraOrientation); objectLocation += cameraLocation; iObjectOrientationSet(OBJ_22,objectOrientation); iObjectLocationSet(OBJ_22,objectLocation); } Link to eighth tutorial: http://www.youtube.com/watch?v=XA6oOvUf6YI Link to tenth tutorial: http://www.youtube.com/watch?v=KtGWjiiOZqQ&feature=youtu.be If you have any ideas for other tutorials then send it to this email: [email protected]
Мой аккаунт