Forklift fork
#1

good evening,
Looking for a solution to find the height of the Forklift fork.
Thanks.
Reply
#2

The height?
Reply
#3

Yes, when you press "8" ou "2" the fork up and down. And i want to know the position of the fork
Reply
#4

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).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)