Hi guys,
This is my first post in this forum and I have been trying to make a Free First Person Camera system.
I am migrating from WC3's world editor and I am new to GE.
So, I need a few clarifications from you all,
1. Is Camera Static or Dynamic? Can I change the Rotation/X,Y,Z values of it during the game using actions?
2. How do I get & set the Position of a Camera to a Certain point? (Does panning only change the view of the camera or does it change the position of it as well?)
3. Whats the deal with Default Game Camera? Is it the Camera the Game uses by default and its position updates as the player navigates through the map?
4. What exactly is a Camera Object? How is it different from a Camera?
I mean... I dont understand the technical difference between the following functions,
Camera - Apply (Default game camera) for player 1 over 2.0 seconds with Existing Velocity% initial velocity, 10% deceleration, and Include Target
Camera - Apply camera object Distance Value for player 1 over 2.0 seconds with Existing Velocity% initial velocity and 10% deceleration
Camera - Set Camera Object Distance to Value
Camera - Set Camera Object target to (Center of (Triggering region))
I know the questions can be very basic, but still it would be nice if someone could clarify things for me.
The "cameras" that you place in the editor, think of them as preset values for the game camera to use.
When you pan, you're panning the game camera. When you rotate the view, you're rotating the game camera. Default game camera is just a camera with no position values, the position values are taken from the player's start location.
When you "apply camera", this is basically saying "move the game camera to be just like this other camera over this amount of time", it is NOT saying, "Hey game camera, you're done, other camera is going to take over right now".
You can almost think of em like guideposts on a hiking trail.
No wonder my logic was at fault. So there is only one camera in the entire game and the camera assumes the position of the camera variable (essentially a predefined hypothetical position) that I had defined in the editor.
So... how do I get the Current camera position terms of x,y & z?
And how do I set them?
2. How do I get set the Position of a Camera to a Certain point? (Does panning only change the view of the camera or does it change the position of it as well?)
I am very interested in knowing the answer to this myself.
Well... I have tried working towards making a camera system.
Now my biggest challenge is to translate the "Yaw" of the current view to the "rotation" of the camera. (I couldn't find a way to set the yaw of the camera) :S
Help anyone?
Hi guys, This is my first post in this forum and I have been trying to make a Free First Person Camera system. I am migrating from WC3's world editor and I am new to GE. So, I need a few clarifications from you all,
1. Is Camera Static or Dynamic? Can I change the Rotation/X,Y,Z values of it during the game using actions?
2. How do I get & set the Position of a Camera to a Certain point? (Does panning only change the view of the camera or does it change the position of it as well?)
3. Whats the deal with Default Game Camera? Is it the Camera the Game uses by default and its position updates as the player navigates through the map?
4. What exactly is a Camera Object? How is it different from a Camera? I mean... I dont understand the technical difference between the following functions,
I know the questions can be very basic, but still it would be nice if someone could clarify things for me.
Thanks :)
The "cameras" that you place in the editor, think of them as preset values for the game camera to use.
When you pan, you're panning the game camera. When you rotate the view, you're rotating the game camera. Default game camera is just a camera with no position values, the position values are taken from the player's start location.
When you "apply camera", this is basically saying "move the game camera to be just like this other camera over this amount of time", it is NOT saying, "Hey game camera, you're done, other camera is going to take over right now".
You can almost think of em like guideposts on a hiking trail.
Thanks LazyCoder :)
No wonder my logic was at fault. So there is only one camera in the entire game and the camera assumes the position of the camera variable (essentially a predefined hypothetical position) that I had defined in the editor. So... how do I get the Current camera position terms of x,y & z? And how do I set them?
Thanks again :)
I am very interested in knowing the answer to this myself.
Well... I have tried working towards making a camera system.
Now my biggest challenge is to translate the "Yaw" of the current view to the "rotation" of the camera. (I couldn't find a way to set the yaw of the camera) :S Help anyone?
Help Anyone?
@Trithilon: Go
There is a camera action called "set rotation" this is the yaw value