Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Ackastar

#1
Support / Disable cameraLookAt
January 13, 2023, 04:21:30 PM
Essentially I have a camera looking at and following a vehicle as it moves around in 3d space and sometimes I'd like to disable the lookat and start a freecam.
i.e turn of the cameraLookAt temporarily to be able to move around by translating the cameras position, maintaining its rotation.

I've so far tried to create a distant point to replace cameraLookAt(vehicle) with cameraLookAt(distantDummy) but im not quite satisfied with the solution.

Has anyone done anthing similar?

Thanks