I have been looking for a way to get the camera to follow my character in a true RPG fashion for the past few days. I want the camera to follow the player's character crisply behind them, where the camera doesn't lag or sway to catch up to where the camera should be. As most probably know people use the Follow Unit Group with Camera trigger and achieve this effect. I have tried making my own camera using the Pan Camera and Make Unit Face Angle however I can never get the camera to work right.
These 2 videos both show custom maps in the SC2 editor that show the camera situations I am talking about.
This Video shows what I get normally when I use the Follow Unit Group with Camera trigger. If you go to about 55 seconds in and watch from there you can see what sway effect I am talking about.
This Video shows what I would like to achieve. From the first 15 seconds you can see him turn the camera and have no awkward camera catch-up time.
After working a little more on trying to find a fix for this solution I found something that will work temporarily but is not a permanent fix to my problem as it doesn't work with faster moving objects.
For anyone else looking for a fix for this problem this is what I did.
Open the Data Editor (F7).
In the Data Type drop down box choose Cameras.
Choose the Default Camera.
I recommend changing the right hand window to table view.
Change the following values:
Target Smooth - Smooth Time Maximum: .04
Target Smooth - Smooth Time Minimum: .04
Target Smooth - Velocity Maximum: 10000
If anyone finds a better solution please post it here. Good Luck and Thanks.
As far as I know there are no easy fixes, but you can work around it. If you create an invisible dummy unit similar to ones used in wc3 custom abilities you can predict where you character will be moving and move the dummy unit there with your camera following it, offsetting the smoothing.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello,
I have been looking for a way to get the camera to follow my character in a true RPG fashion for the past few days. I want the camera to follow the player's character crisply behind them, where the camera doesn't lag or sway to catch up to where the camera should be. As most probably know people use the Follow Unit Group with Camera trigger and achieve this effect. I have tried making my own camera using the Pan Camera and Make Unit Face Angle however I can never get the camera to work right.
These 2 videos both show custom maps in the SC2 editor that show the camera situations I am talking about.
This Video shows what I get normally when I use the Follow Unit Group with Camera trigger. If you go to about 55 seconds in and watch from there you can see what sway effect I am talking about.
This Video shows what I would like to achieve. From the first 15 seconds you can see him turn the camera and have no awkward camera catch-up time.
Okay,
After working a little more on trying to find a fix for this solution I found something that will work temporarily but is not a permanent fix to my problem as it doesn't work with faster moving objects.
For anyone else looking for a fix for this problem this is what I did.
If anyone finds a better solution please post it here. Good Luck and Thanks.
@Homaeedv: Go
As far as I know there are no easy fixes, but you can work around it. If you create an invisible dummy unit similar to ones used in wc3 custom abilities you can predict where you character will be moving and move the dummy unit there with your camera following it, offsetting the smoothing.