View Issue Details

IDProjectCategoryView StatusLast Update
0004285Multi Theft Auto : San AndreasSynchronizationpublic2009-10-24 21:30
Reporterkwksnd Assigned ToJax  
Status resolvedResolutionfixed 
Target Version1.0.2Fixed in Version1.0.2 
Summary0004285: getElementposition returns the incorrect xyz of an element attached and offset from a vehicle

getElementposition should take into account, if the element its attached to another element and offset , then is rotated right now it takes into account the offset but not rotation

for example i scripted a dozer to pick up objects this offsets the object about 0x 4y 0.25z right in front of the dozer.

but i cant get it to release things exactly if front of the dozer where the objects is dropped unless the vehicle is facing north

even when i get the xyz of the attached objects the rotation of the dozer isnt taken into account its as if the vehicle is always facing north

the object will always be released on the northside of the vehicle regardless of the direction the vehicle is actualy facing

Additional Information

i have other scripts that i wish this worked properly for

like a tow rope for water skiing should be attached to the back of the boat not the middle and so i attached an object as a dummy to get the xyz of the back of the boat to start to draw the line from.

the xyz returned is always offset from the vehicle in the same direction and does not rotate with it

i believe the same fix that got offset attached markers, rotating with objects, would work here, its the same math and same situation basicly

it just needs to be applied

TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change