Problem when exiting a vehicle while an object is attached to it.
#1

Hi. So the title says it all. I'm having that kind of problem. I'm not sure if it's the right direction I'm looking to, but I think that it has do to something with the objects boundaries or collision, don't know what it's called. The object is the blue opened container (ID 3043). The object goes almost all the way through the car, there's a little bit left empty. I tried to move the object all the way back from the vehicle cabin, but that didn't help, when I exit the vehicle, the player is teleported away from the vehicle, near to the road. I have attached a picture to the thread, it should be at the end of the thread. Any help is appreciated.
Reply
#2

Bump.
Reply
#3

Bump.
Reply
#4

Could I see the code where you're adding the object to the vehicle?
Reply
#5

Quote:
Originally Posted by Dokins
Посмотреть сообщение
Could I see the code where you're adding the object to the vehicle?
Ofcourse.

pawn Код:
// The objects are created in OnGameModeInit.
// The attachment is done in OnGameModeInit too.
AttachObjectToVehicle(priekaba, 15, x, y, z, 0.0, 0.0, 0.0);
AttachObjectToVehicle(durys1, 15, x, y, z, 0.0, 0.0, 0.0);
AttachObjectToVehicle(durys2, 15, x, y, z, 0.0, 0.0, 0.0);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)