Attach A Camera To A 3D Model

Attach A Camera To A 3D Model

You are here:
← All Topics

FPS games needs the camera to tightly follow the main player. We can achieve that by attaching the camera to our player for example:

player is a gemini
camera.attach to player having pos=(0,1,-2)

Here we attached the camera to to our player with slight offset: nothing on the X axis, 1 meter up on the Y axis and 2 meters back on the Z axis

Previous Adding SkyBox To The Scene
Next Attaching 2D/3D Entity To Another 3D Model