10.09.2017, 16:20
(
Последний раз редактировалось AbyssMorgan; 12.09.2017 в 19:15.
)
Update v4.5.0:
- Added Vehicle Collision Module
- Added VehicleCollision Functions:
- Added compiler option:
Screenshot:
https://i.imgur.com/vIYQPXC.png
Download:
3DTryg.inc
- Added Vehicle Collision Module
- Added VehicleCollision Functions:
PHP код:
Tryg3D::InitVehicleCollision(); //Init VehicleCollision System
Tryg3D::ExitVehicleCollision();
Tryg3D::SyncVehicleCollision(vehicleid);
//force resync vehicle collision (call after new vehicle created or use OnVehicleCreated from EVF.inc)
//only if VehicleCollision is inited
//Collision detection
MovePointColWithVehicle(Float:StartX,Float:StartY,Float:StartZ,Float:EndX,Float:EndY,Float:EndZ,&Float:x,&Float:y,&Float:z);
//Detection type: Cube3D
//Return position type: Sphere
//Return value: vehicleid or INVALID_VEHICLE_ID
PHP код:
DISABLE_3D_TRYG_VEHICLECOL
https://i.imgur.com/vIYQPXC.png
Download:
3DTryg.inc