View Issue Details

IDProjectCategoryView StatusLast Update
0006132New Feature Requests[All Projects] Generalpublic2018-07-09 16:04
ReporterLex128Assigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status newResolutionopen 
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 acknowledged Multi Theft Auto : San Andreas 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

reporter   ~~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

reporter   ~~0026678

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

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

Issue History

Date Modified Username Field Change