Posts: 198
Threads: 31
Joined: Jan 2012
Reputation:
0
When using AttachCameraToObject is there anyway to offset the camera slightly. so the camera isnt right in the middle of the object?
Would i need to use timers and keep updating the players camera pos?
I'm after creating a plane like system like PUBG
regards
Posts: 576
Threads: 85
Joined: Nov 2012
Reputation:
0
Yes, I think you have to use timers and keep updating players camera position for that, there is not other way as far as i know.
or maybe put other object which is not visible at all, put camera behind that object and move it with the plane
Posts: 198
Threads: 31
Joined: Jan 2012
Reputation:
0
Good idea, do you know of any invisible object IDs?
Posts: 1,801
Threads: 21
Joined: Mar 2008
Reputation:
0
19300 is an empty model for that purpose.
Posts: 198
Threads: 31
Joined: Jan 2012
Reputation:
0
20.09.2018, 20:03
(
Последний раз редактировалось Kontrol; 20.09.2018 в 22:09.
)
Just tried attaching it to a invisible object slightly above. but all the camera does is sink till it hits the visible object.
Posts: 497
Threads: 21
Joined: Feb 2018
Reputation:
0
If you are using always the same coords you do not need all that. Just get your preferred 1st and last camera coords using a map editor, interpolate camera playing with the timing and coords.