View Issue Details

IDProjectCategoryView StatusLast Update
0006132Multi Theft Auto : San AndreasScriptingpublic2018-07-21 16:17
ReporterLex128Assigned ToZ_ReC 
PrioritylowSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.5.6Fixed in Version1.5.6 
Summary0006132: [Request] isVehicleWheelOnGround
Description

bool, bool, bool, bool isVehicleWheelOnGround ( vehicle theVehicle )
Returns 4 boolean indicating the onground states of the wheels (front left, rear left, front right, rear right).

TagsNo tags attached.

Relationships

child of 0003344 closed New Feature Requests Requested features tracker 

Activities

MX_Master

2011-05-29 16:35

viewer   ~~0013514

obviously can be done by

http://wiki.multitheftauto.com/wiki/IsVehicleOnGround ,
http://wiki.multitheftauto.com/wiki/GetElementBoundingBox , and
http://wiki.multitheftauto.com/wiki/GetElementMatrix

Dragon

2011-05-30 09:30

reporter   ~~0013527

i don't think so, also for custom placed objects isVehicleOnGround fails frequently at the moment.

Gamesnert

2011-05-30 11:14

developer   ~~0013529

Besides that I think it would be good to have a getVehicleWheelSurface or something, so you could detect whether each wheel is on tarmac, sand, grass or in the air.

MX_Master

2011-05-30 12:32

viewer   ~~0013530

custom object it's not a ground (: you want isVehicleWheelOnGround. You can use colshapes or invisible objects for each wheel to detect what element they touch at the moment

myonlake

2018-07-09 16:04

updater   ~~0026678

Added at https://github.com/multitheftauto/mtasa-blue/commit/192445b1cb6a3e5dff6e6f4808b3de12597db727

Buildinfo: https://buildinfo.mtasa.com/?Author=&Branch=&Revision=11854

qaisjp

2018-07-16 20:22

administrator   ~~0026732

rename to isVehicleWheelOnGround in https://github.com/multitheftauto/mtasa-blue/commit/6f26f0df5f350c745e00474a31ccba04ee037413

Issue History

Date Modified Username Field Change