Skip to content

rig.position.set() #26

@Eytanm

Description

@Eytanm

hi,
I want to change the position of my Rig to start FreeMovement from a different position in the model.
I can change position of camera but not of rig...
this.rig = new CameraRig(this.camera, this.scene) **this.rig.position.set(-2.738747813014968,0,-34.80472085495976);** // this.camera.position.set(-2.738747813014968,0,-34.80472085495976); // this.camera.quaternion.set(-0.016886286519686242,0.9595464380905118,-0.05896608108424796,-0.2747880779017762); this.controls = new FreeMovementControls(this.rig, { panDegreeFactor: 2, wheelScaleFactor: 0.01, keyboardScaleFactor: 0.015, keyboardDampFactor: 0 }) this.controls.enable()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions