We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

align cursor ahead of locked camera view mode

Home Forums Puzzles align cursor ahead of locked camera view mode

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #55664

    hi, i have a camera that has locked view mode, when entering it i want to be able to click on objects, despite the cursor is hidden and the view is locked to the mouse, i have put a cursor object in the middle of the camera, but the cursor position will inherit its last position when i click the button to enter the locked view camera.

    Is there a way på realign the cursor to the center of view just before or at the same time as i enter the locked view camera?
    in order to be able to click on objects that is in the center of the camera.

    #55695

    Hi, if you’re talking about pointer lock, you better use raycasting or physics for checking what is the object in front of the viewer.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #55788

    Hi, if you’re talking about pointer lock, you better use raycasting or physics for checking what is the object in front of the viewer.

    Please explain a bit, im not too familiar with puzzles and code

    #55789
    kdv
    Participant

    For example, this puzzle set will detect the closest object in the middle of the screen

    Puzzles and JS coding. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of the meaning at all.

    #55955

    Thanks for the help, i used raycast to acheive what i wanted

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.