| 11-01-2003, 12:58 AM | #1 |
How would I go about making a 3rd person camera? I want a camera to follow the unit around, but always face it's back. When the unit turns, the camera turns, etc. When I use - Lock camera target to 'unit' using 'units' rotation', it still doesnt use the units rotation. Is there any reason why? Could someone help? |
| 11-01-2003, 01:22 AM | #2 |
Yuo need a periodic event that uses the "Camera - Set Field" actions to follow the target unit. |
| 11-01-2003, 02:16 AM | #3 |
I just learned how to do this just a few days ago. :D Lemme help ya out. Yeah, I'm pretty sure you have to make it a periodic event, but here's the setup I use. First, I create a camera that is in the general position that I want it to be (namely, low to the ground angled a bit downward, but whatever you like best). Anyway, here's the trigger setup: Event: Time-Every 0.20 seconds of game time *Note: You really only need to do this if you want to make sure they can never unlock from the camera and therefore lose the third-person. You can make it a one-shot deal if you want. Condition: None needed, but whatever you prefer Action: Camera-Apply the camera that you made for the player over 0.20 seconds (don't know if you really need the 0.20 seconds, but it seems to work fine either way) *The next action is what you were missing Camera-Set Player's camera rotation to Unit over 0.20 seconds (again not sure if the 0.20 seconds are necessary) Camera-Lock camera target for Player to Unit with offset (0.00,0.00) using Default rotation Camera-Change camera smoothing factor tp 30.00 *This makes the camera seem less choppy, since it is now so up close. And that's about it! Have fun. :ggani: |
