• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Locking the Camera to a Specific Point

Status
Not open for further replies.
Level 5
Joined
May 27, 2007
Messages
132
I'm trying to figure out how to make a FPS type camera view.

I'm using a modified Marine model and I want to place the camera so that you can see the gun firing, and possibly the hands holding it. But I'm making this for a campaign so the camera height and spot on the face has to be the exact same position every time. The problem with this is I have yet to get the camera to work in the first place, let alone stay in a specific spot. Is there any way I can attach a camera to the unit's face?
 
Level 8
Joined
Mar 6, 2007
Messages
542
I believe you could make it fix to the unit, then you will have to manulay set the parameters for the zoom and z-value in order to make it look like it is fixed to his head alone. After that you can set a trigger to make the camera face 180 degrees of the unit's rotation. that should do the trick.
 
Level 5
Joined
May 27, 2007
Messages
132
See, I can lock the camera but have no idea how to position it right in front of the units face in a consistent way. If I knew how to set the exact location so it was in the same spot in relation to the unit every time, I would have the camera working by now.
 
Level 8
Joined
Mar 6, 2007
Messages
542
See, I can lock the camera but have no idea how to position it right in front of the units face in a consistent way. If I knew how to set the exact location so it was in the same spot in relation to the unit every time, I would have the camera working by now.

Use a loop trigger to set rotation of camera [X degrees], to the rotation of unit [target], [-180 degrees] ?
 
Status
Not open for further replies.
Top