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 Move along a path

Home Forums General Questions Camera Move along a path

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #84422
    gf3d
    Customer

    Hi Guys,

    Working with 3D Max 2022 and Verge 4.8.0
    i´m working on a project where i need to move a camera along a path.
    This works fine….of course

    But i need to move it by using the scrolling wheel on the mouse….forewards and backwards

    cant find any puzzles to do that…..
    Any hints?

    Thanks in advance

    Ger

    #84435

    Hi Ger,
    This is quite easy to implement actually. You just make regular camera animation and control it’s frame based on the scroll delta (you obtain it using the “wheel” event). See a basic example attached:

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #84444
    gf3d
    Customer

    Thanks Alexander…….so far so clear…..but i cannot find this “Set to” puzzle

    Greets

    Ger

    #84445
    gf3d
    Customer

    ok found it its variable

    #84475
    gf3d
    Customer

    Hi Alexander,

    I´ve set it up like you said……a simple camera movement……stopped the animation of the Camera with a puzzle……but nothing happens when i scroll …

    If I dont stop the animation with a puzzle the animation just runs…..

    Any hint whats wrong?

    Greets

    Ger

    #84482

    Hi,
    I think you can disable “Auto Start” animation in object settings. Regarding frame set, the idea is to increase / decrease current frame based on “wheel delta” (multiplied by some value). If in trouble, use print to console to debug.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #84491
    QiangGe
    Participant

    Using path animations exported from 3D software is super convenient, but when you try to control everything frame by frame it gets kinda awkward — especially with the camera, since it’s also tied to the orbit controls. Think of something like a VR roller coaster scene.
    So I hacked together a mini JavaScript demo to show the idea ,the camera runs along the path, but you can still use WASD to move the view and mouse wheel control to move forward. Just to provide ideas.

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