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 on mobiles

Home Forums Puzzles First person camera on mobiles

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #39188
    AwaRyo
    Customer

    Hi,

    I am trying to implement first person camera navigation for mobile devices. With “change local transform” puzzles, I implemented a basic function to go forward and backward puzzles. But only if the number is 1 and tap arrows button, camera moves for 1 step further. I would like to move a camera more smoothly.

    Would you give me any idea to implement that?

    Attached a screenshot image for very simple navigation test scene.

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

    Hi,

    you can use the every frame and elapsed puzzles to calculate the distance to move your object according to user input

    Chief 3D Verger | LinkedIn | Twitter

    #39191
    AwaRyo
    Customer

    Hi Yuri,

    Thanks for a suggestion.
    I will try it!

    #39192
    AwaRyo
    Customer

    Tried several way and I can not make camera stop…
    When camera starts moving by clicking button, there is no way to stop camera within my knowledge.
    I would like to have some advice how to stop “every frame do” function.
    Thanks in advance!

    #39288

    Hi,

    sorry for late response. You can use a variable for this purpose. Set it to “moving” state when you need this, and check it each frame to determine if you need to perform movement. Otherwise set it to “stopped” state.

    Chief 3D Verger | LinkedIn | Twitter

    #39311
    AwaRyo
    Customer

    Hi Yuri,

    Thanks a lot!
    I did not realize there was that kind of a simple solution..
    I will try it.

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