Game Development Community

Camera Viewport as Movement Boundary

by Ryan T · in Torque 3D Professional · 10/16/2011 (1:08 pm) · 0 replies

Hey everyone,

I'm currently working on a 3D side scroller game to get back into torque. I was curious if anyone could point me in the right direction of getting my camera setup properly.

Currently my camera is rotated 90 degrees and is offset enough to place my player at the left side of the screen. However, my limitation here is that the camera and player move together when I only need the player to be moving. Basically, the camera and player need to be separate with the camera controlling the overall scolling speed and be the player's movement boundary. My confusion here seems to be within how control objects work and setting a camera's velocity.

Any help with this is appreciated, I'm looking to implement this in script if possible however I won't frown upon diving into the C++ side of things.

Thank you!