Jump to content

How to change the camera gaia uses for terrain loading


namusanga
Go to solution Solved by Peter,

Recommended Posts

I'm creating a game that involves the player entering a tank, when he does, his camera is disabled and the tanks camera gets used, but Gaia continues to use the player's camera for loading and unloading which means it loads and unloads the wrong terrains. How can I tell Gaia that a different camera is now being used?

Link to comment
Share on other sites

  • Solution

Hi, the terrain loading during runtime for the player is tied to the "Terrain Loader" component - you would need to deactivate that on the old camera, and activate it on the new one for the time the player is inside the tank, then switch back when the player leaves again. Alternatively you could also put the terrain loader component on the player itself, if the transform of the player is moved together with the tank, if your game / camera setup allows for it.

Link to comment
Share on other sites

On 12/22/2021 at 11:52 AM, Peter said:

Hi, the terrain loading during runtime for the player is tied to the "Terrain Loader" component - you would need to deactivate that on the old camera, and activate it on the new one for the time the player is inside the tank, then switch back when the player leaves again. Alternatively you could also put the terrain loader component on the player itself, if the transform of the player is moved together with the tank, if your game / camera setup allows for it.

Ah that's good to know... one of the issues I always have with camera based systems is if you have a zoomed out 3rd person view things don't always move with the player.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...