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.

First Person Camera Alternative

Home Forums Projects First Person Camera Alternative

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #59631
    kdv
    Participant

    Feel / find the difference B-) This demo is based on the original demo scene, but the First Person controls and collisions system are fully replaced.
    https://v3d.net/ec5

    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.

    #59633

    added inertia? :)

    Chief 3D Verger | LinkedIn | Twitter

    #59634
    kdv
    Participant

    No. It doesn’t use the FirstPersonControls class.

    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.

    #59940
    kdv
    Participant

    Updated a little. Added smooth animated crouching (Shift). Crouching and jumping can be executed simultaneously (to jump thru a window, for example)
    https://v3d.net/ec5

    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.

    #59943

    +1 for cool FPS controls :good:

    Chief 3D Verger | LinkedIn | Twitter

    #60305
    Blend4Life
    Participant

    Updated a little. Added smooth animated crouching (Shift). Crouching and jumping can be executed simultaneously (to jump thru a window, for example)
    https://v3d.net/ec5

    This is good, better than the original. :good: Yet there could be some additional improvements:

    * Adding the inertia effect is great and important, but it’s too strong, i.e. coming to rest takes too long, it feels like skating on ice; should be reduced.

    * When you scrape along obstacles like the walls with a vector toward the obstacle, the movement speed should go down (friction) the more your vector points to the obstacle.

    * You added crouching, how about adding RUNNING too? In most FPS, run is on SHIFT and crouch is on the C key or CTRL.

    #60306
    kdv
    Participant

    duplicate deleted

    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.

    #60307
    kdv
    Participant

    duplicate deleted

    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.

    #60308
    kdv
    Participant

    I know the keymap for FPS but there are some limitations: try to press Ctrl+S, Ctrl+D or Ctrl+W in Chrome of Firefox))) Ctrl+A,S,D can be blocked but Ctrl+W persistantly closes the active tab )))

    Adding the inertia effect is great and important, but it’s too strong, i.e. coming to rest takes too long, it feels like skating on ice; should be reduced.

    It’s running, not walking.

    When you scrape along obstacles like the walls with a vector toward the obstacle, the movement speed should go down (friction)

    It’s already working this way. The speed is reduced according to the angle between the speed vector and the obstacle’s normal vector. Noticable from 45 to 0 degrees. Friction when running along walls? No, have never heard about it. This is a sober character )))

    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.

    #61802
    kdv
    Participant

    coming to rest takes too long, it feels like skating on ice

    Fixed. Now coming to rest is nearly immediate.
    https://v3d.net/ec5

    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.

    #61805
    bigcatrik
    Participant

    Agree with the “shift = run” comment above. I haven’t played many FPS games but even for me it’s automatic.

    Also, it’s possible to look all the way and down, and beyond. My mouse bugged out and I started doing backflips.

    #61813
    kdv
    Participant

    Ctrl + (W,A,S,D) and Alt + (W,A,S,D) cannot be used in browsers. The only key left for crouching is Shift. C is not a variant.

    Also, it’s possible to look all the way and down, and beyond

    Yeap, that was a funny issue. Fixed.

    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.

    #63272
    Blend4Life
    Participant

    Ctrl + (W,A,S,D) and Alt + (W,A,S,D) cannot be used in browsers. The only key left fo crouching is Shift. C is not a variant.

    You could implement the crouch as a toggle instead of a permanent hold, that is, pressing the crouch key once makes the character go down and it stays down until the key is pressed again (which ends the crouch). This is actually used in many games and preferable to holding the key down because when you have to crouch for a long time, it starts hurting your fingers.

    • This reply was modified 1 year, 6 months ago by Blend4Life.
    #63285
    kdv
    Participant

    You could implement the crouch as a toggle instead of a permanent hold

    I could but it would be a little uncomfortable to jump through opened windows ))) If you buy it I can assign any action to any key you ask )))

    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.

    #63902
    kdv
    Participant

    deleted…

    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 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.