Jump to content
Artem1243

Camera moving smoothly with unit

Recommended Posts

I tried to make camera move with unit with this code...

camera = "camera" camcreate [0, 0, 0]
camera cameraeffect ["Internal", "back"]
ShowCinemaBorder true

#camloop
camera camsettarget soldier1
camera camsetRelpos [0.3,-0.1,1.5]
camera camcommit 0
goto "camloop"

camera cameraEffect ["terminate", "Back"]
camdestroy camera
exit

And its following, but for some reason it is shaking a lot. Its like it is teleporting, not moving. But I saw this code worked and it was moving smoothly. Do you have any ideas why it is acting so?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×