Hey guys,
So I’m looking to re-create what the camera actuator does, when it’s damping is set to 0.0, and I was hoping I could get help from people who understand how it works (Zero damping = camera doesn’t orbit around the player when player rotates)
Basically, I’m looking to get a grasp of what the logic behind it is, and how it could be re-created in python (or any other language for that matter) purely cause I genuinely love what that actuator does, and I want to know how it does it.
The way I see it: It sets position based on min/max distance somewhere in the world (this is what I want to look into), & tracks to player (rotates) like a simple track-to actuator.
So, to be more specific:
I’m only looking to get the position-part of it. Don’t care about tracking (rotating) to the object.
So, camera moves when player is too far, or too close, and it should try to find a position in the world that still fits the distance criteria.
Thanks for looking guys, if you can help me out, please do leave a comment!