NoxMortus
All Along the Watchtower
- Reaction score
- 104
Hi, im *trying* to make an rpg, i really wanted to use the 3rd person view, so i used darg's trigger in "free trigger code" thread, when i used this trigger in my map, the camera did follow the unit in a 3rd person view, but im having trouble with the camera following the unit's rotation - the camera does rotate to the unit's current facing rotation, but it is very jagged (as oppose to smooth) as it repositions the camera to the back of the unit. So does anyone have an idea how to smooth out the movement of the camera? .I think this thread will be kinda hard to understand for some people (i have trouble myself) , but please try
here is my altered Darg's trigger - (i reduced all the 'seconds' fields to 0 in an attempt to smooth out the camera movement - which didnt work)
here is my altered Darg's trigger - (i reduced all the 'seconds' fields to 0 in an attempt to smooth out the camera movement - which didnt work)
Code:
Actions
Camera - Pan camera for (Owner of (Sold unit)) to (Position of (Sold unit)) over 0.00 seconds
Camera - Lock camera target for (Owner of (Sold unit)) to (Sold unit), offset by (0.00, 0.00) using The unit's rotation
Camera - Set (Owner of (Sold unit))'s camera Distance to target to 800.00 over 0.00 seconds
Camera - Set (Owner of (Sold unit))'s camera Angle of attack to -45.00 over 0.00 seconds
Camera - Set (Owner of (Sold unit))'s camera Rotation to (Facing of (Sold unit)) over 0.00 seconds
Wait 0.01 seconds
Trigger - Run (This trigger) (checking conditions)


