Pages 1
Universal Fighting Engine Forum We are no longer using the forum to answer questions due to bot attacks. Please use our discord instead: https://discord.gg/hGMZhF7 |
You are not logged in. Please login or register.
Universal Fighting Engine Forum → 3D Gameplay → Camera Rotation
You can try using one of the following:
UFE.freeCamera = true;
UFE.cameraScript.enabled = false;
and then move the camera around like
Camera.main.transform.localEulerAngles = newRotation;
There's also bunch of other options you can explore under 'UFE.config.cameraOptions.'
What I did was I created another bool and placed it inside the 'DoFixedUpdate()' function of the CameraScript.cs like this:
public void DoFixedUpdate()
{
if (killCamMove) return;
if (player1 == null || player2 == null) return;
if (YourReferenceScriptHere.manualCam) return; // Replace with your boolean reference here
if (UFE.freeCamera)
{
if (UFE.config.gameplayType != GameplayType._2DFighter)
{
Update3DPosition();
}
...
Universal Fighting Engine Forum → 3D Gameplay → Camera Rotation
Powered by PunBB, supported by Informer Technologies, Inc.