Improve moviment !
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ export class Camera {
|
||||
setup(entity: Entity, partial_tick: number) {
|
||||
const { x, y, z } = entity.render_position(partial_tick);
|
||||
this.x = x;
|
||||
this.y = y + entity.eye_height;
|
||||
this.y = y + entity.render_eye_height(partial_tick);
|
||||
this.z = z;
|
||||
this.yaw = entity.yaw;
|
||||
this.pitch = entity.pitch;
|
||||
|
||||
Reference in New Issue
Block a user