kinda specific problem
#4

I don't see how the offsets change when you rotate it. You gotta rotate the keypad as well.
It could be that rY is relative to the rX on the keypad.

open up a map editor and see in which physical direction it rotates when you change a value. Then compare this to which rotation on the ATM that changes the same physical direction. This way you can find out which values that goes for each.

EDIT:

I realise that the position of the keypad will be relative to the rotation of the ATM.

For instance:


This is possible to solve, if you use trigeometric functions correctly. I don't have time to sit down and set up a equation for it right now (and considering the axes on samp differs from what usually is used). When i get home I'll try to set it up and explain how you could do this.
Furthermore, this documentation may help you: https://math.stackexchange.com/quest...nt-on-a-circle

The keypad moves relatively to a circle when the ATM is rotated. You gotta know the radius. Switch over X and Y and you are getting close.
Reply


Messages In This Thread
kinda specific problem - by wallee - 23.01.2018, 16:29
Re: kinda specific problem - by denNorske - 23.01.2018, 20:06
Re: kinda specific problem - by wallee - 24.01.2018, 06:42
Re: kinda specific problem - by denNorske - 24.01.2018, 09:13
Re: kinda specific problem - by Sew_Sumi - 24.01.2018, 09:44
Re: kinda specific problem - by wallee - 25.01.2018, 10:20
Re: kinda specific problem - by VeryTallMidget - 25.01.2018, 11:05
Re: kinda specific problem - by wallee - 25.01.2018, 19:12
Re: kinda specific problem - by Nero_3D - 25.01.2018, 20:35
Re: kinda specific problem - by RedFusion - 25.01.2018, 20:53

Forum Jump:


Users browsing this thread: 1 Guest(s)