Here is the following trigger that I am using for a perfectly smooth following of a unit. The only reason that it does not work perfectly is because of some innate deceleration value somewhere in the Data Editor that I cannot locate.
TheSmartPanEventsUnit-AnyUnitisissuedanordertoMoveLocalVariablesP=(Positionof(Triggeringunit))<Point>S=(Targetpositionfor(Triggeringorder))<Point>X=(DistancebetweenPandS)<Real>V=((Triggeringunit)MovementSpeed(Current))<Real>R=(X/V)<Real>ConditionsActionsCamera-ApplyCamera001forplayer1over0.0secondswith100%initialvelocity,0%deceleration,andDon't Include TargetCamera-Panthecameraforplayer1toPover0.0secondswith100%initialvelocity,0%deceleration,andDoNotusesmartpanningCamera-Panthecameraforplayer1toSoverRsecondswith100%initialvelocity,0%deceleration,andDoNotusesmartpanning
When I use that action (or follow unit group), I get absolutely unpredictable and uncontrollable results in FPS mode. Therefore I decided to development my own custom panning of the camera. It works perfectly for the first 90% of the time period that it is running until it starts to decelerate towards the end. It removes that choppy effect you get from reseting camera bounds or panning every 0.0 seconds.
Here is the following trigger that I am using for a perfectly smooth following of a unit. The only reason that it does not work perfectly is because of some innate deceleration value somewhere in the Data Editor that I cannot locate.
why dont use the follow unit action ? U can see the usage in every TPS engine.
About Data Editor ->Camera: There is not much info about it.
http://wiki.sc2mapster.com/galaxy/data/cameras/
Maybe It is Scroll Acceleration period Or Target smooth.
@avogatro: Go
When I use that action (or follow unit group), I get absolutely unpredictable and uncontrollable results in FPS mode. Therefore I decided to development my own custom panning of the camera. It works perfectly for the first 90% of the time period that it is running until it starts to decelerate towards the end. It removes that choppy effect you get from reseting camera bounds or panning every 0.0 seconds.