Posts: 54
Threads: 12
Joined: Jan 2011
Reputation:
0
good evening,
Looking for a solution to find the height of the Forklift fork.
Thanks.
Posts: 54
Threads: 12
Joined: Jan 2011
Reputation:
0
Yes, when you press "8" ou "2" the fork up and down. And i want to know the position of the fork
Posts: 864
Threads: 57
Joined: Jan 2013
Reputation:
0
The best way is to create an object InGame at your position.
Then use EditObject to put the object on the fork.
Finally, use AttachObjectToVehicle.
Now, when you'll want to get the fork position, simply get the object position instead.
And if you want it as an offset, simply deduct the object position from the player/vehicle position (basically, the center of the vehicle I think).