Camera position
#1

How can I attach camera to a vehicle like to look on the wheels or the roof?
Reply
#2

https://sampwiki.blast.hk/wiki/AttachObjectToVehicle

https://sampwiki.blast.hk/wiki/AttachCameraToObject
Reply
#3

To do this you have to create invisible object then attach it to vehicle using:
pawn Код:
AttachObjectToVehicle(objectid, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:RotX, Float:RotY, Float:RotZ)
Then attach the camera to the object using:
pawn Код:
AttachCameraToObject(playerid, objectid)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)