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.

Camera Puzzles Tutorial – Empty Follows Mouse Object

Home Forums Graphics / Blender Camera Puzzles Tutorial – Empty Follows Mouse Object

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #49605
    ma77hew
    Participant

    I am following the tutorial shared here on Verge3D Camera/Lights page:

    https://www.soft8soft.com/docs/manual/en/puzzles/Camera.html

    In the following example, an object looks at the mouse cursor. This can be achived by mapping the position of an empty/dummy object to mouse cursor with some simple math.

    Verge3D Puzzle Setup

    In order to setup such behavior in 3ds Max, make your object follow a dummy object by utilizing the Rotation Controllers / LookAt Constraint. In Blender, this corresponds to the TrackTo constraint.

    I have followed these instructions and the result works as expected but the animations extremely fast. How can I slow down this camera movement? Or make it less sensitive?
    – I’ve tried playing with the values
    – I’ve tried unticking “inverted” for the mouse option. This seems to slow it down.

    #49722
    ma77hew
    Participant

    Any advice on this?

    #49725
    ma77hew
    Participant

    I can’t seem to get this to behave in a consistent fashion. Now, it seems the orbit moves much more slowly. Here is my setup on Puzzles and my camera setup on Blender.

    I am following your tutorial directions.

    Please help me figure this out.

    Attachments:
    You must be logged in to view attached files.
    #66548

    Hey I know it is super late but I had similar problem and that’s how I solved it:

    Attachments:
    You must be logged in to view attached files.

    https://v3d.net/nf1

    #66553
    kdv
    Participant

    Every frame? :scratch: It’s enough to use “on mousemove”…
    https://v3d.net/bdd

    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.

    #66562

    Tried it, works well, thanks! Haven’t thought of it yet :-)

    https://v3d.net/nf1

    #68821
    ma77hew
    Participant

    Never got this to work for me, even after following these instructions. Can you provide you show me your project and puzzle?

    #68854
    ma77hew
    Participant

    Does anyone have a working example of this? it’s on the Verge3D official documentation and yet I still have not seen it working ever

    #68878
    kdv
    Participant


    https://v3d.net/qna

    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.

    #68894
    ma77hew
    Participant

    Thank you for your help @kdv. Other users should know additionally to check this option to achieve the interaction as stated.

    You are using Orbit as a camera control? How can we use First Person?

    #68895
    kdv
    Participant

    How can we use First Person?

    The same way. But it’s next to senseless. And you can’t use it if the pointer is locked.

    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.

    #68896
    ma77hew
    Participant

    I actually switched to try but it seems this disables the AWSD keys. I am looking into solving this right now

    #68918
    ma77hew
    Participant

    Is it possible to avoid making users press Escape key on Pointerlock?

    #68921
    kdv
    Participant

    No.

    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.

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